public enum MutableShortListFactoryImpl extends Enum<MutableShortListFactoryImpl> implements MutableShortListFactory
MutableShortList.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
empty() |
MutableShortList |
of() |
MutableShortList |
of(short... items) |
MutableShortList |
ofAll(Iterable<Short> iterable) |
MutableShortList |
ofAll(ShortIterable items) |
static MutableShortListFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MutableShortListFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableShortList |
with() |
MutableShortList |
with(short... items)
Creates a new list using the passed
items argument as the backing store. |
MutableShortList |
withAll(Iterable<Short> iterable) |
MutableShortList |
withAll(ShortIterable items) |
MutableShortList |
withInitialCapacity(int capacity) |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfwrapCopypublic static final MutableShortListFactoryImpl INSTANCE
public static MutableShortListFactoryImpl[] values()
for (MutableShortListFactoryImpl c : MutableShortListFactoryImpl.values()) System.out.println(c);
public static MutableShortListFactoryImpl 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 MutableShortList empty()
empty in interface MutableShortListFactorypublic MutableShortList of()
of in interface MutableShortListFactorypublic MutableShortList with()
with in interface MutableShortListFactorypublic MutableShortList withInitialCapacity(int capacity)
withInitialCapacity in interface MutableShortListFactorypublic MutableShortList of(short... items)
of in interface MutableShortListFactorypublic MutableShortList with(short... 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 MutableShortListFactorypublic MutableShortList ofAll(ShortIterable items)
ofAll in interface MutableShortListFactorypublic MutableShortList withAll(ShortIterable items)
withAll in interface MutableShortListFactorypublic MutableShortList ofAll(Iterable<Short> iterable)
ofAll in interface MutableShortListFactorypublic MutableShortList withAll(Iterable<Short> iterable)
withAll in interface MutableShortListFactoryCopyright © 2004–2020. All rights reserved.