Interface MutableIntSetFactory
-
- All Known Implementing Classes:
MutableIntSetFactoryImpl
public interface MutableIntSetFactory
A factory which creates instances of typeMutableIntSet
. This file was automatically generated from template file mutablePrimitiveSetFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MutableIntSet
empty()
MutableIntSet
of()
Same asempty()
.MutableIntSet
of(int... items)
Same aswith(int[])
.MutableIntSet
ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Same aswithAll(Iterable)
.MutableIntSet
ofAll(java.util.stream.IntStream items)
MutableIntSet
ofAll(IntIterable items)
Same aswithAll(IntIterable)
.MutableIntSet
with()
Same asempty()
.MutableIntSet
with(int... items)
MutableIntSet
withAll(java.lang.Iterable<java.lang.Integer> iterable)
MutableIntSet
withAll(java.util.stream.IntStream items)
MutableIntSet
withAll(IntIterable items)
default MutableIntSet
withInitialCapacity(int capacity)
Same asempty()
.
-
-
-
Method Detail
-
empty
MutableIntSet empty()
-
of
MutableIntSet of()
Same asempty()
.
-
with
MutableIntSet with()
Same asempty()
.
-
withInitialCapacity
default MutableIntSet withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity- Since:
- 10.3
-
of
MutableIntSet of(int... items)
Same aswith(int[])
.
-
with
MutableIntSet with(int... items)
-
ofAll
MutableIntSet ofAll(IntIterable items)
Same aswithAll(IntIterable)
.
-
withAll
MutableIntSet withAll(IntIterable items)
-
ofAll
MutableIntSet ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Same aswithAll(Iterable)
.
-
withAll
MutableIntSet withAll(java.lang.Iterable<java.lang.Integer> iterable)
-
ofAll
MutableIntSet ofAll(java.util.stream.IntStream items)
- Since:
- 9.0
-
withAll
MutableIntSet withAll(java.util.stream.IntStream items)
- Since:
- 9.0
-
-