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 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 passeditems
argument as the backing store.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
-