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 passeditems
argument as the backing store.withAll
(ByteIterable items) withInitialCapacity
(int capacity) Same asMutableByteListFactory.empty()
.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 Details
-
INSTANCE
-
-
Constructor Details
-
MutableByteListFactoryImpl
public MutableByteListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableByteListFactory
-
of
Description copied from interface:MutableByteListFactory
Same asMutableByteListFactory.empty()
.- Specified by:
of
in interfaceMutableByteListFactory
-
with
Description copied from interface:MutableByteListFactory
Same asMutableByteListFactory.empty()
.- Specified by:
with
in interfaceMutableByteListFactory
-
withInitialCapacity
Description copied from interface:MutableByteListFactory
Same asMutableByteListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableByteListFactory
-
of
Description copied from interface:MutableByteListFactory
Same asMutableByteListFactory.with(byte[])
.- Specified by:
of
in interfaceMutableByteListFactory
-
with
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 interfaceMutableByteListFactory
-
ofAll
Description copied from interface:MutableByteListFactory
- Specified by:
ofAll
in interfaceMutableByteListFactory
-
withAll
- Specified by:
withAll
in interfaceMutableByteListFactory
-
ofAll
Description copied from interface:MutableByteListFactory
- Specified by:
ofAll
in interfaceMutableByteListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableByteListFactory
- Since:
- 10.0
-