public interface MutableByteListFactory
MutableByteList.
This file was automatically generated from template file mutablePrimitiveListFactory.stg.| Modifier and Type | Method and Description |
|---|---|
MutableByteList |
empty() |
MutableByteList |
of()
Same as
empty(). |
MutableByteList |
of(byte... items)
Same as
with(byte[]). |
MutableByteList |
ofAll(ByteIterable items)
Same as
withAll(ByteIterable). |
MutableByteList |
ofAll(Iterable<Byte> iterable)
Same as
withAll(Iterable). |
MutableByteList |
with()
Same as
empty(). |
MutableByteList |
with(byte... items)
Creates a new list using the passed
items argument as the backing store. |
MutableByteList |
withAll(ByteIterable items) |
MutableByteList |
withAll(Iterable<Byte> iterable) |
default MutableByteList |
withInitialCapacity(int capacity)
Same as
empty(). |
default MutableByteList |
wrapCopy(byte... array)
Creates a new list by first copying the array passed in.
|
MutableByteList empty()
MutableByteList of()
empty().MutableByteList with()
empty().default MutableByteList withInitialCapacity(int capacity)
empty(). but takes in an initial capacityMutableByteList of(byte... items)
with(byte[]).MutableByteList with(byte... items)
items 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. !!!
default MutableByteList wrapCopy(byte... array)
MutableByteList ofAll(ByteIterable items)
withAll(ByteIterable).MutableByteList withAll(ByteIterable items)
MutableByteList ofAll(Iterable<Byte> iterable)
withAll(Iterable).MutableByteList withAll(Iterable<Byte> iterable)
Copyright © 2004–2020. All rights reserved.