Interface ImmutableIntSetFactory
- All Known Implementing Classes:
ImmutableIntSetFactoryImpl
public interface ImmutableIntSetFactory
A factory which creates instances of type
ImmutableIntSet
.
This file was automatically generated from template file immutablePrimitiveSetFactory.stg.- Since:
- 4.0.
-
Method Summary
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(Iterable<Integer> iterable)
Same aswithAll(Iterable)
.ImmutableIntSet
ofAll(IntStream items)
ImmutableIntSet
ofAll(IntIterable items)
Same aswithAll(IntIterable)
.ImmutableIntSet
with()
Same asempty()
.ImmutableIntSet
with(int one)
ImmutableIntSet
with(int... items)
ImmutableIntSet
withAll(Iterable<Integer> iterable)
ImmutableIntSet
withAll(IntStream items)
ImmutableIntSet
withAll(IntIterable items)
-
Method Details
-
empty
ImmutableIntSet empty()- Since:
- 6.0
-
of
ImmutableIntSet of()Same asempty()
. -
with
ImmutableIntSet with()Same asempty()
. -
of
Same aswith(int)
. -
with
-
of
Same aswith(int[])
. -
with
-
ofAll
Same aswithAll(IntIterable)
. -
withAll
-
ofAll
Same aswithAll(Iterable)
. -
withAll
-
ofAll
- Since:
- 9.0
-
withAll
- Since:
- 9.0
-