ImmutableShortListFactorypublic enum ImmutableShortListFactoryImpl extends java.lang.Enum<ImmutableShortListFactoryImpl> implements ImmutableShortListFactory
ImmutableShortList.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableShortList |
empty() |
|
ImmutableShortList |
of() |
Same as
ImmutableShortListFactory.empty(). |
ImmutableShortList |
of(short one) |
|
ImmutableShortList |
of(short... items) |
|
ImmutableShortList |
ofAll(ShortIterable items) |
|
static ImmutableShortListFactoryImpl |
valueOf(java.lang.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() |
Same as
ImmutableShortListFactory.empty(). |
ImmutableShortList |
with(short one) |
|
ImmutableShortList |
with(short... items) |
|
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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic ImmutableShortList empty()
empty in interface ImmutableShortListFactorypublic ImmutableShortList of()
ImmutableShortListFactoryImmutableShortListFactory.empty().of in interface ImmutableShortListFactorypublic ImmutableShortList with()
ImmutableShortListFactoryImmutableShortListFactory.empty().with in interface ImmutableShortListFactorypublic ImmutableShortList of(short one)
ImmutableShortListFactoryof in interface ImmutableShortListFactorypublic ImmutableShortList with(short one)
with in interface ImmutableShortListFactorypublic ImmutableShortList of(short... items)
ImmutableShortListFactoryof in interface ImmutableShortListFactorypublic ImmutableShortList with(short... items)
with in interface ImmutableShortListFactorypublic ImmutableShortList ofAll(ShortIterable items)
ImmutableShortListFactoryofAll in interface ImmutableShortListFactorypublic ImmutableShortList withAll(ShortIterable items)
withAll in interface ImmutableShortListFactoryCopyright © 2004–2017. All rights reserved.