Class MutableByteListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableByteListFactoryImpl
-
- All Implemented Interfaces:
MutableByteListFactory
public class MutableByteListFactoryImpl extends 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()MutableByteListof(byte... items)MutableByteListofAll(Iterable<Byte> iterable)MutableByteListofAll(ByteIterable items)MutableByteListwith()MutableByteListwith(byte... items)Creates a new list using the passeditemsargument as the backing store.MutableByteListwithAll(Iterable<Byte> iterable)MutableByteListwithAll(ByteIterable items)MutableByteListwithInitialCapacity(int capacity)-
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.MutableByteListFactory
wrapCopy
-
-
-
-
Field Detail
-
INSTANCE
public static final MutableByteListFactory INSTANCE
-
-
Method Detail
-
empty
public MutableByteList empty()
- Specified by:
emptyin interfaceMutableByteListFactory
-
of
public MutableByteList of()
- Specified by:
ofin interfaceMutableByteListFactory
-
with
public MutableByteList with()
- Specified by:
within interfaceMutableByteListFactory
-
withInitialCapacity
public MutableByteList withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMutableByteListFactory
-
of
public MutableByteList of(byte... items)
- 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)
- Specified by:
ofAllin interfaceMutableByteListFactory
-
withAll
public MutableByteList withAll(ByteIterable items)
- Specified by:
withAllin interfaceMutableByteListFactory
-
ofAll
public MutableByteList ofAll(Iterable<Byte> iterable)
- Specified by:
ofAllin interfaceMutableByteListFactory- Since:
- 10.0
-
withAll
public MutableByteList withAll(Iterable<Byte> iterable)
- Specified by:
withAllin interfaceMutableByteListFactory- Since:
- 10.0
-
-