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 MutableByteListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableByteListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableByteList
empty()
MutableByteList
of()
Same asMutableByteListFactory.empty()
.MutableByteList
of(byte... items)
Same asMutableByteListFactory.with(byte[])
.MutableByteList
ofAll(java.lang.Iterable<java.lang.Byte> iterable)
MutableByteList
ofAll(ByteIterable items)
MutableByteList
with()
Same asMutableByteListFactory.empty()
.MutableByteList
with(byte... items)
Creates a new list using the passeditems
argument as the backing store.MutableByteList
withAll(java.lang.Iterable<java.lang.Byte> iterable)
MutableByteList
withAll(ByteIterable items)
MutableByteList
withInitialCapacity(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:
empty
in interfaceMutableByteListFactory
-
of
public MutableByteList of()
Description copied from interface:MutableByteListFactory
Same asMutableByteListFactory.empty()
.- Specified by:
of
in interfaceMutableByteListFactory
-
with
public MutableByteList with()
Description copied from interface:MutableByteListFactory
Same asMutableByteListFactory.empty()
.- Specified by:
with
in interfaceMutableByteListFactory
-
withInitialCapacity
public MutableByteList withInitialCapacity(int capacity)
Description copied from interface:MutableByteListFactory
Same asMutableByteListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableByteListFactory
-
of
public MutableByteList of(byte... items)
Description copied from interface:MutableByteListFactory
Same asMutableByteListFactory.with(byte[])
.- Specified by:
of
in interfaceMutableByteListFactory
-
with
public MutableByteList with(byte... items)
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
public MutableByteList ofAll(ByteIterable items)
Description copied from interface:MutableByteListFactory
- Specified by:
ofAll
in interfaceMutableByteListFactory
-
withAll
public MutableByteList withAll(ByteIterable items)
- Specified by:
withAll
in interfaceMutableByteListFactory
-
ofAll
public MutableByteList ofAll(java.lang.Iterable<java.lang.Byte> iterable)
Description copied from interface:MutableByteListFactory
- Specified by:
ofAll
in interfaceMutableByteListFactory
- Since:
- 10.0
-
withAll
public MutableByteList withAll(java.lang.Iterable<java.lang.Byte> iterable)
- Specified by:
withAll
in interfaceMutableByteListFactory
- Since:
- 10.0
-
-