Interface MutableBooleanListFactory
- All Known Implementing Classes:
MutableBooleanListFactoryImpl
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 Type Method Description MutableBooleanList
empty()
MutableBooleanList
of()
Same asempty()
.MutableBooleanList
of(boolean... items)
Same aswith(boolean[])
.MutableBooleanList
ofAll(Iterable<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(Iterable<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 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 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
Creates a new list by first copying the array passed in. -
ofAll
Same aswithAll(BooleanIterable)
. -
withAll
-
ofAll
Same aswithAll(Iterable)
. -
withAll
-