Interface MutableIntListFactory
-
public interface MutableIntListFactoryA factory which creates instances of typeMutableIntList. This file was automatically generated from template file mutablePrimitiveListFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MutableIntListempty()MutableIntListof()Same asempty().MutableIntListof(int... items)Same aswith(int[]).MutableIntListofAll(Iterable<Integer> iterable)Same aswithAll(Iterable).MutableIntListofAll(IntStream items)MutableIntListofAll(IntIterable items)Same aswithAll(IntIterable).MutableIntListwith()Same asempty().MutableIntListwith(int... items)Creates a new list using the passeditemsargument as the backing store.MutableIntListwithAll(Iterable<Integer> iterable)MutableIntListwithAll(IntStream items)MutableIntListwithAll(IntIterable items)default MutableIntListwithInitialCapacity(int capacity)Same asempty().default MutableIntListwrapCopy(int... array)Creates a new list by first copying the array passed in.
-
-
-
Method Detail
-
empty
MutableIntList empty()
-
of
MutableIntList of()
Same asempty().
-
with
MutableIntList with()
Same asempty().
-
withInitialCapacity
default MutableIntList withInitialCapacity(int capacity)
Same asempty(). but takes in an initial capacity- Since:
- 10.3
-
of
MutableIntList of(int... items)
Same aswith(int[]).
-
with
MutableIntList with(int... items)
Creates a new list using the passeditemsargument as the backing store.!!! WARNING: This method uses the passed in array, so can be very unsafe if the original array is held onto anywhere else. !!!
-
wrapCopy
default MutableIntList wrapCopy(int... array)
Creates a new list by first copying the array passed in.
-
ofAll
MutableIntList ofAll(IntIterable items)
Same aswithAll(IntIterable).
-
withAll
MutableIntList withAll(IntIterable items)
-
ofAll
MutableIntList ofAll(Iterable<Integer> iterable)
Same aswithAll(Iterable).
-
withAll
MutableIntList withAll(Iterable<Integer> iterable)
-
ofAll
MutableIntList ofAll(IntStream items)
- Since:
- 9.0
-
withAll
MutableIntList withAll(IntStream items)
- Since:
- 9.0
-
-