Class MutableByteListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.mutable.primitive.MutableByteListFactoryImpl
- All Implemented Interfaces:
MutableByteListFactory
MutableByteListFactoryImpl is a factory implementation which creates instances of type
MutableByteList.
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 asMutableByteListFactory.empty().of(byte... items) Same asMutableByteListFactory.with(byte[]).ofAll(ByteIterable items) with()Same asMutableByteListFactory.empty().with(byte... items) Creates a new list using the passeditemsargument as the backing store.withAll(ByteIterable items) withInitialCapacity(int capacity) Same asMutableByteListFactory.empty().Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MutableByteListFactory
wrapCopy
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableByteListFactoryImpl
public MutableByteListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableByteListFactory
-
of
Description copied from interface:MutableByteListFactorySame asMutableByteListFactory.empty().- Specified by:
ofin interfaceMutableByteListFactory
-
with
Description copied from interface:MutableByteListFactorySame asMutableByteListFactory.empty().- Specified by:
within interfaceMutableByteListFactory
-
withInitialCapacity
Description copied from interface:MutableByteListFactorySame asMutableByteListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableByteListFactory
-
of
Description copied from interface:MutableByteListFactorySame asMutableByteListFactory.with(byte[]).- Specified by:
ofin interfaceMutableByteListFactory
-
with
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
Description copied from interface:MutableByteListFactory- Specified by:
ofAllin interfaceMutableByteListFactory
-
withAll
- Specified by:
withAllin interfaceMutableByteListFactory
-
ofAll
Description copied from interface:MutableByteListFactory- Specified by:
ofAllin interfaceMutableByteListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableByteListFactory- Since:
- 10.0
-