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