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 MutableBooleanListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableBooleanListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableBooleanListempty()MutableBooleanListof()Same asMutableBooleanListFactory.empty().MutableBooleanListof(boolean... items)MutableBooleanListofAll(java.lang.Iterable<java.lang.Boolean> iterable)MutableBooleanListofAll(BooleanIterable items)MutableBooleanListwith()Same asMutableBooleanListFactory.empty().MutableBooleanListwith(boolean... items)Creates a new list using the passeditemsargument as the backing store.MutableBooleanListwithAll(java.lang.Iterable<java.lang.Boolean> iterable)MutableBooleanListwithAll(BooleanIterable items)MutableBooleanListwithInitialCapacity(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:
emptyin interfaceMutableBooleanListFactory
-
of
public MutableBooleanList of()
Description copied from interface:MutableBooleanListFactorySame asMutableBooleanListFactory.empty().- Specified by:
ofin interfaceMutableBooleanListFactory
-
with
public MutableBooleanList with()
Description copied from interface:MutableBooleanListFactorySame asMutableBooleanListFactory.empty().- Specified by:
within interfaceMutableBooleanListFactory
-
withInitialCapacity
public MutableBooleanList withInitialCapacity(int capacity)
Description copied from interface:MutableBooleanListFactorySame asMutableBooleanListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableBooleanListFactory
-
of
public MutableBooleanList of(boolean... items)
Description copied from interface:MutableBooleanListFactory- Specified by:
ofin interfaceMutableBooleanListFactory
-
with
public MutableBooleanList with(boolean... items)
Creates a new list using the passeditemsargument 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:
within interfaceMutableBooleanListFactory
-
ofAll
public MutableBooleanList ofAll(BooleanIterable items)
Description copied from interface:MutableBooleanListFactory- Specified by:
ofAllin interfaceMutableBooleanListFactory
-
withAll
public MutableBooleanList withAll(BooleanIterable items)
- Specified by:
withAllin interfaceMutableBooleanListFactory
-
ofAll
public MutableBooleanList ofAll(java.lang.Iterable<java.lang.Boolean> iterable)
Description copied from interface:MutableBooleanListFactory- Specified by:
ofAllin interfaceMutableBooleanListFactory- Since:
- 10.0
-
withAll
public MutableBooleanList withAll(java.lang.Iterable<java.lang.Boolean> iterable)
- Specified by:
withAllin interfaceMutableBooleanListFactory- Since:
- 10.0
-
-