Interface ImmutableIntSetFactory
-
- All Known Implementing Classes:
ImmutableIntSetFactoryImpl
public interface ImmutableIntSetFactory
A factory which creates instances of typeImmutableIntSet
. This file was automatically generated from template file immutablePrimitiveSetFactory.stg.- Since:
- 4.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableIntSet
empty()
ImmutableIntSet
of()
Same asempty()
.ImmutableIntSet
of(int one)
Same aswith(int)
.ImmutableIntSet
of(int... items)
Same aswith(int[])
.ImmutableIntSet
ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Same aswithAll(Iterable)
.ImmutableIntSet
ofAll(java.util.stream.IntStream items)
ImmutableIntSet
ofAll(IntIterable items)
Same aswithAll(IntIterable)
.ImmutableIntSet
with()
Same asempty()
.ImmutableIntSet
with(int one)
ImmutableIntSet
with(int... items)
ImmutableIntSet
withAll(java.lang.Iterable<java.lang.Integer> iterable)
ImmutableIntSet
withAll(java.util.stream.IntStream items)
ImmutableIntSet
withAll(IntIterable items)
-
-
-
Method Detail
-
empty
ImmutableIntSet empty()
- Since:
- 6.0
-
of
ImmutableIntSet of()
Same asempty()
.
-
with
ImmutableIntSet with()
Same asempty()
.
-
of
ImmutableIntSet of(int one)
Same aswith(int)
.
-
with
ImmutableIntSet with(int one)
-
of
ImmutableIntSet of(int... items)
Same aswith(int[])
.
-
with
ImmutableIntSet with(int... items)
-
ofAll
ImmutableIntSet ofAll(IntIterable items)
Same aswithAll(IntIterable)
.
-
withAll
ImmutableIntSet withAll(IntIterable items)
-
ofAll
ImmutableIntSet ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Same aswithAll(Iterable)
.
-
withAll
ImmutableIntSet withAll(java.lang.Iterable<java.lang.Integer> iterable)
-
ofAll
ImmutableIntSet ofAll(java.util.stream.IntStream items)
- Since:
- 9.0
-
withAll
ImmutableIntSet withAll(java.util.stream.IntStream items)
- Since:
- 9.0
-
-