public enum MutableByteListFactoryImpl extends Enum<MutableByteListFactoryImpl> implements MutableByteListFactory
MutableByteList.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
MutableByteList |
empty() |
MutableByteList |
of() |
MutableByteList |
of(byte... items) |
MutableByteList |
ofAll(ByteIterable items) |
MutableByteList |
ofAll(Iterable<Byte> iterable) |
static MutableByteListFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MutableByteListFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableByteList |
with() |
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) |
MutableByteList |
withInitialCapacity(int capacity) |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfwrapCopypublic static final MutableByteListFactoryImpl INSTANCE
public static MutableByteListFactoryImpl[] values()
for (MutableByteListFactoryImpl c : MutableByteListFactoryImpl.values()) System.out.println(c);
public static MutableByteListFactoryImpl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MutableByteList empty()
empty in interface MutableByteListFactorypublic MutableByteList of()
of in interface MutableByteListFactorypublic MutableByteList with()
with in interface MutableByteListFactorypublic MutableByteList withInitialCapacity(int capacity)
withInitialCapacity in interface MutableByteListFactorypublic MutableByteList of(byte... items)
of in interface MutableByteListFactorypublic 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. !!!
with in interface MutableByteListFactorypublic MutableByteList ofAll(ByteIterable items)
ofAll in interface MutableByteListFactorypublic MutableByteList withAll(ByteIterable items)
withAll in interface MutableByteListFactorypublic MutableByteList ofAll(Iterable<Byte> iterable)
ofAll in interface MutableByteListFactorypublic MutableByteList withAll(Iterable<Byte> iterable)
withAll in interface MutableByteListFactoryCopyright © 2004–2020. All rights reserved.