Class MutableBooleanListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableBooleanListFactoryImpl
-
- All Implemented Interfaces:
MutableBooleanListFactory
public class MutableBooleanListFactoryImpl extends java.lang.Object implements MutableBooleanListFactory
MutableBooleanListFactoryImpl is a factory implementation which creates instances of typeMutableBooleanList
. This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableBooleanListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableBooleanListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableBooleanList
empty()
MutableBooleanList
of()
Same asMutableBooleanListFactory.empty()
.MutableBooleanList
of(boolean... items)
MutableBooleanList
ofAll(java.lang.Iterable<java.lang.Boolean> iterable)
MutableBooleanList
ofAll(BooleanIterable items)
MutableBooleanList
with()
Same asMutableBooleanListFactory.empty()
.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)
MutableBooleanList
withInitialCapacity(int capacity)
Same asMutableBooleanListFactory.empty()
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableBooleanListFactory
wrapCopy
-
-
-
-
Field Detail
-
INSTANCE
public static final MutableBooleanListFactory INSTANCE
-
-
Method Detail
-
empty
public MutableBooleanList empty()
- Specified by:
empty
in interfaceMutableBooleanListFactory
-
of
public MutableBooleanList of()
Description copied from interface:MutableBooleanListFactory
Same asMutableBooleanListFactory.empty()
.- Specified by:
of
in interfaceMutableBooleanListFactory
-
with
public MutableBooleanList with()
Description copied from interface:MutableBooleanListFactory
Same asMutableBooleanListFactory.empty()
.- Specified by:
with
in interfaceMutableBooleanListFactory
-
withInitialCapacity
public MutableBooleanList withInitialCapacity(int capacity)
Description copied from interface:MutableBooleanListFactory
Same asMutableBooleanListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableBooleanListFactory
-
of
public MutableBooleanList of(boolean... items)
Description copied from interface:MutableBooleanListFactory
- Specified by:
of
in interfaceMutableBooleanListFactory
-
with
public 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. !!!
- Specified by:
with
in interfaceMutableBooleanListFactory
-
ofAll
public MutableBooleanList ofAll(BooleanIterable items)
Description copied from interface:MutableBooleanListFactory
- Specified by:
ofAll
in interfaceMutableBooleanListFactory
-
withAll
public MutableBooleanList withAll(BooleanIterable items)
- Specified by:
withAll
in interfaceMutableBooleanListFactory
-
ofAll
public MutableBooleanList ofAll(java.lang.Iterable<java.lang.Boolean> iterable)
Description copied from interface:MutableBooleanListFactory
- Specified by:
ofAll
in interfaceMutableBooleanListFactory
- Since:
- 10.0
-
withAll
public MutableBooleanList withAll(java.lang.Iterable<java.lang.Boolean> iterable)
- Specified by:
withAll
in interfaceMutableBooleanListFactory
- Since:
- 10.0
-
-