public enum ImmutableShortListFactoryImpl extends Enum<ImmutableShortListFactoryImpl> implements ImmutableShortListFactory
ImmutableShortList.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableShortList |
empty() |
ImmutableShortList |
of() |
ImmutableShortList |
of(short... items) |
ImmutableShortList |
of(short one) |
ImmutableShortList |
ofAll(Iterable<Short> iterable) |
ImmutableShortList |
ofAll(ShortIterable items) |
static ImmutableShortListFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableShortListFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableShortList |
with() |
ImmutableShortList |
with(short... items) |
ImmutableShortList |
with(short one) |
ImmutableShortList |
withAll(Iterable<Short> iterable) |
ImmutableShortList |
withAll(ShortIterable items) |
public static final ImmutableShortListFactoryImpl INSTANCE
public static ImmutableShortListFactoryImpl[] values()
for (ImmutableShortListFactoryImpl c : ImmutableShortListFactoryImpl.values()) System.out.println(c);
public static ImmutableShortListFactoryImpl 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 ImmutableShortList empty()
empty in interface ImmutableShortListFactorypublic ImmutableShortList of()
of in interface ImmutableShortListFactorypublic ImmutableShortList with()
with in interface ImmutableShortListFactorypublic ImmutableShortList of(short one)
of in interface ImmutableShortListFactorypublic ImmutableShortList with(short one)
with in interface ImmutableShortListFactorypublic ImmutableShortList of(short... items)
of in interface ImmutableShortListFactorypublic ImmutableShortList with(short... items)
with in interface ImmutableShortListFactorypublic ImmutableShortList ofAll(ShortIterable items)
ofAll in interface ImmutableShortListFactorypublic ImmutableShortList withAll(ShortIterable items)
withAll in interface ImmutableShortListFactorypublic ImmutableShortList ofAll(Iterable<Short> iterable)
ofAll in interface ImmutableShortListFactorypublic ImmutableShortList withAll(Iterable<Short> iterable)
withAll in interface ImmutableShortListFactoryCopyright © 2004–2019. All rights reserved.