ImmutableShortStackFactorypublic enum ImmutableShortStackFactoryImpl extends java.lang.Enum<ImmutableShortStackFactoryImpl> implements ImmutableShortStackFactory
ImmutableShortStack.
This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableShortStack |
empty() |
|
ImmutableShortStack |
of() |
Same as
ImmutableShortStackFactory.empty(). |
ImmutableShortStack |
of(short one) |
|
ImmutableShortStack |
of(short... items) |
|
ImmutableShortStack |
ofAll(ShortIterable items) |
|
ImmutableShortStack |
ofAllReversed(ShortIterable items) |
|
static ImmutableShortStackFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableShortStackFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableShortStack |
with() |
Same as
ImmutableShortStackFactory.empty(). |
ImmutableShortStack |
with(short one) |
|
ImmutableShortStack |
with(short... items) |
|
ImmutableShortStack |
withAll(ShortIterable items) |
|
ImmutableShortStack |
withAllReversed(ShortIterable items) |
public static final ImmutableShortStackFactoryImpl INSTANCE
public static ImmutableShortStackFactoryImpl[] values()
for (ImmutableShortStackFactoryImpl c : ImmutableShortStackFactoryImpl.values()) System.out.println(c);
public static ImmutableShortStackFactoryImpl 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 ImmutableShortStack empty()
empty in interface ImmutableShortStackFactorypublic ImmutableShortStack of()
ImmutableShortStackFactoryImmutableShortStackFactory.empty().of in interface ImmutableShortStackFactorypublic ImmutableShortStack with()
ImmutableShortStackFactoryImmutableShortStackFactory.empty().with in interface ImmutableShortStackFactorypublic ImmutableShortStack of(short one)
ImmutableShortStackFactoryof in interface ImmutableShortStackFactorypublic ImmutableShortStack with(short one)
with in interface ImmutableShortStackFactorypublic ImmutableShortStack of(short... items)
ImmutableShortStackFactoryof in interface ImmutableShortStackFactorypublic ImmutableShortStack with(short... items)
with in interface ImmutableShortStackFactorypublic ImmutableShortStack ofAll(ShortIterable items)
ImmutableShortStackFactoryofAll in interface ImmutableShortStackFactorypublic ImmutableShortStack withAll(ShortIterable items)
withAll in interface ImmutableShortStackFactorypublic ImmutableShortStack ofAllReversed(ShortIterable items)
ImmutableShortStackFactoryofAllReversed in interface ImmutableShortStackFactorypublic ImmutableShortStack withAllReversed(ShortIterable items)
withAllReversed in interface ImmutableShortStackFactoryCopyright © 2004–2017. All rights reserved.