Class MutableByteListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableByteListFactoryImpl
-
- All Implemented Interfaces:
MutableByteListFactory
public class MutableByteListFactoryImpl extends java.lang.Object implements MutableByteListFactory
MutableByteListFactoryImpl is a factory implementation which creates instances of typeMutableByteList. This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableByteListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableByteListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableByteListempty()MutableByteListof()Same asMutableByteListFactory.empty().MutableByteListof(byte... items)Same asMutableByteListFactory.with(byte[]).MutableByteListofAll(java.lang.Iterable<java.lang.Byte> iterable)MutableByteListofAll(ByteIterable items)MutableByteListwith()Same asMutableByteListFactory.empty().MutableByteListwith(byte... items)Creates a new list using the passeditemsargument as the backing store.MutableByteListwithAll(java.lang.Iterable<java.lang.Byte> iterable)MutableByteListwithAll(ByteIterable items)MutableByteListwithInitialCapacity(int capacity)Same asMutableByteListFactory.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.MutableByteListFactory
wrapCopy
-
-
-
-
Field Detail
-
INSTANCE
public static final MutableByteListFactory INSTANCE
-
-
Method Detail
-
empty
public MutableByteList empty()
- Specified by:
emptyin interfaceMutableByteListFactory
-
of
public MutableByteList of()
Description copied from interface:MutableByteListFactorySame asMutableByteListFactory.empty().- Specified by:
ofin interfaceMutableByteListFactory
-
with
public MutableByteList with()
Description copied from interface:MutableByteListFactorySame asMutableByteListFactory.empty().- Specified by:
within interfaceMutableByteListFactory
-
withInitialCapacity
public MutableByteList withInitialCapacity(int capacity)
Description copied from interface:MutableByteListFactorySame asMutableByteListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableByteListFactory
-
of
public MutableByteList of(byte... items)
Description copied from interface:MutableByteListFactorySame asMutableByteListFactory.with(byte[]).- Specified by:
ofin interfaceMutableByteListFactory
-
with
public MutableByteList with(byte... 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 interfaceMutableByteListFactory
-
ofAll
public MutableByteList ofAll(ByteIterable items)
Description copied from interface:MutableByteListFactory- Specified by:
ofAllin interfaceMutableByteListFactory
-
withAll
public MutableByteList withAll(ByteIterable items)
- Specified by:
withAllin interfaceMutableByteListFactory
-
ofAll
public MutableByteList ofAll(java.lang.Iterable<java.lang.Byte> iterable)
Description copied from interface:MutableByteListFactory- Specified by:
ofAllin interfaceMutableByteListFactory- Since:
- 10.0
-
withAll
public MutableByteList withAll(java.lang.Iterable<java.lang.Byte> iterable)
- Specified by:
withAllin interfaceMutableByteListFactory- Since:
- 10.0
-
-