Class MutableBooleanListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.mutable.primitive.MutableBooleanListFactoryImpl
- All Implemented Interfaces:
MutableBooleanListFactory
MutableBooleanListFactoryImpl is a factory implementation which creates instances of type
MutableBooleanList
.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asMutableBooleanListFactory.empty()
.of
(boolean... items) ofAll
(BooleanIterable items) with()
Same asMutableBooleanListFactory.empty()
.with
(boolean... items) Creates a new list using the passeditems
argument as the backing store.withAll
(BooleanIterable items) withInitialCapacity
(int capacity) Same asMutableBooleanListFactory.empty()
.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableBooleanListFactory
wrapCopy
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableBooleanListFactoryImpl
public MutableBooleanListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableBooleanListFactory
-
of
Description copied from interface:MutableBooleanListFactory
Same asMutableBooleanListFactory.empty()
.- Specified by:
of
in interfaceMutableBooleanListFactory
-
with
Description copied from interface:MutableBooleanListFactory
Same asMutableBooleanListFactory.empty()
.- Specified by:
with
in interfaceMutableBooleanListFactory
-
withInitialCapacity
Description copied from interface:MutableBooleanListFactory
Same asMutableBooleanListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableBooleanListFactory
-
of
Description copied from interface:MutableBooleanListFactory
- Specified by:
of
in interfaceMutableBooleanListFactory
-
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. !!!
- Specified by:
with
in interfaceMutableBooleanListFactory
-
ofAll
Description copied from interface:MutableBooleanListFactory
- Specified by:
ofAll
in interfaceMutableBooleanListFactory
-
withAll
- Specified by:
withAll
in interfaceMutableBooleanListFactory
-
ofAll
Description copied from interface:MutableBooleanListFactory
- Specified by:
ofAll
in interfaceMutableBooleanListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableBooleanListFactory
- Since:
- 10.0
-