Interface MutableByteListFactory
-
- All Known Implementing Classes:
MutableByteListFactoryImpl
public interface MutableByteListFactory
A factory which creates instances of typeMutableByteList
. This file was automatically generated from template file mutablePrimitiveListFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MutableByteList
empty()
MutableByteList
of()
Same asempty()
.MutableByteList
of(byte... items)
Same aswith(byte[])
.MutableByteList
ofAll(java.lang.Iterable<java.lang.Byte> iterable)
Same aswithAll(Iterable)
.MutableByteList
ofAll(ByteIterable items)
Same aswithAll(ByteIterable)
.MutableByteList
with()
Same asempty()
.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)
default MutableByteList
withInitialCapacity(int capacity)
Same asempty()
.default MutableByteList
wrapCopy(byte... array)
Creates a new list by first copying the array passed in.
-
-
-
Method Detail
-
empty
MutableByteList empty()
-
of
MutableByteList of()
Same asempty()
.
-
with
MutableByteList with()
Same asempty()
.
-
withInitialCapacity
default MutableByteList withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity- Since:
- 10.3
-
of
MutableByteList of(byte... items)
Same aswith(byte[])
.
-
with
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. !!!
-
wrapCopy
default MutableByteList wrapCopy(byte... array)
Creates a new list by first copying the array passed in.
-
ofAll
MutableByteList ofAll(ByteIterable items)
Same aswithAll(ByteIterable)
.
-
withAll
MutableByteList withAll(ByteIterable items)
-
ofAll
MutableByteList ofAll(java.lang.Iterable<java.lang.Byte> iterable)
Same aswithAll(Iterable)
.
-
withAll
MutableByteList withAll(java.lang.Iterable<java.lang.Byte> iterable)
-
-