Interface MutableByteListFactory
-
public interface MutableByteListFactoryA 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 MutableByteListempty()MutableByteListof()Same asempty().MutableByteListof(byte... items)Same aswith(byte[]).MutableByteListofAll(Iterable<Byte> iterable)Same aswithAll(Iterable).MutableByteListofAll(ByteIterable items)Same aswithAll(ByteIterable).MutableByteListwith()Same asempty().MutableByteListwith(byte... items)Creates a new list using the passeditemsargument as the backing store.MutableByteListwithAll(Iterable<Byte> iterable)MutableByteListwithAll(ByteIterable items)default MutableByteListwithInitialCapacity(int capacity)Same asempty().default MutableByteListwrapCopy(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 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. !!!
-
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(Iterable<Byte> iterable)
Same aswithAll(Iterable).
-
withAll
MutableByteList withAll(Iterable<Byte> iterable)
-
-