Interface MutableBooleanListFactory
public interface MutableBooleanListFactory
A factory which creates instances of type
MutableBooleanList.
This file was automatically generated from template file mutablePrimitiveListFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()of()Same asempty().of(boolean... items) Same aswith(boolean[]).Same aswithAll(Iterable).ofAll(BooleanIterable items) Same aswithAll(BooleanIterable).with()Same asempty().with(boolean... items) Creates a new list using the passeditemsargument as the backing store.withAll(BooleanIterable items) default MutableBooleanListwithInitialCapacity(int capacity) Same asempty(). but takes in an initial capacitydefault MutableBooleanListwrapCopy(boolean... array) Creates a new list by first copying the array passed in.
-
Method Details
-
empty
MutableBooleanList empty() -
of
MutableBooleanList of()Same asempty(). -
with
MutableBooleanList with()Same asempty(). -
withInitialCapacity
Same asempty(). but takes in an initial capacity- Since:
- 10.3
-
of
Same aswith(boolean[]). -
with
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
Creates a new list by first copying the array passed in. -
ofAll
Same aswithAll(BooleanIterable). -
withAll
-
ofAll
Same aswithAll(Iterable). -
withAll
-