Interface MutableBooleanListFactory
-
- All Known Implementing Classes:
MutableBooleanListFactoryImpl
public interface MutableBooleanListFactory
A factory which creates instances of typeMutableBooleanList
. 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 MutableBooleanList
empty()
MutableBooleanList
of()
Same asempty()
.MutableBooleanList
of(boolean... items)
Same aswith(boolean[])
.MutableBooleanList
ofAll(java.lang.Iterable<java.lang.Boolean> iterable)
Same aswithAll(Iterable)
.MutableBooleanList
ofAll(BooleanIterable items)
Same aswithAll(BooleanIterable)
.MutableBooleanList
with()
Same asempty()
.MutableBooleanList
with(boolean... items)
Creates a new list using the passeditems
argument as the backing store.MutableBooleanList
withAll(java.lang.Iterable<java.lang.Boolean> iterable)
MutableBooleanList
withAll(BooleanIterable items)
default MutableBooleanList
withInitialCapacity(int capacity)
Same asempty()
.default MutableBooleanList
wrapCopy(boolean... array)
Creates a new list by first copying the array passed in.
-
-
-
Method Detail
-
empty
MutableBooleanList empty()
-
of
MutableBooleanList of()
Same asempty()
.
-
with
MutableBooleanList with()
Same asempty()
.
-
withInitialCapacity
default MutableBooleanList withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity- Since:
- 10.3
-
of
MutableBooleanList of(boolean... items)
Same aswith(boolean[])
.
-
with
MutableBooleanList with(boolean... items)
Creates a new list using the passeditems
argument 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 MutableBooleanList wrapCopy(boolean... array)
Creates a new list by first copying the array passed in.
-
ofAll
MutableBooleanList ofAll(BooleanIterable items)
Same aswithAll(BooleanIterable)
.
-
withAll
MutableBooleanList withAll(BooleanIterable items)
-
ofAll
MutableBooleanList ofAll(java.lang.Iterable<java.lang.Boolean> iterable)
Same aswithAll(Iterable)
.
-
withAll
MutableBooleanList withAll(java.lang.Iterable<java.lang.Boolean> iterable)
-
-