public enum ImmutableShortStackFactoryImpl extends Enum<ImmutableShortStackFactoryImpl> implements ImmutableShortStackFactory
ImmutableShortStack.
This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableShortStack |
empty() |
ImmutableShortStack |
of() |
ImmutableShortStack |
of(short... items) |
ImmutableShortStack |
of(short one) |
ImmutableShortStack |
ofAll(Iterable<Short> iterable) |
ImmutableShortStack |
ofAll(ShortIterable items) |
ImmutableShortStack |
ofAllReversed(ShortIterable items) |
static ImmutableShortStackFactoryImpl |
valueOf(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() |
ImmutableShortStack |
with(short... items) |
ImmutableShortStack |
with(short one) |
ImmutableShortStack |
withAll(Iterable<Short> iterable) |
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(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 ImmutableShortStack empty()
empty in interface ImmutableShortStackFactorypublic ImmutableShortStack of()
of in interface ImmutableShortStackFactorypublic ImmutableShortStack with()
with in interface ImmutableShortStackFactorypublic ImmutableShortStack of(short one)
of in interface ImmutableShortStackFactorypublic ImmutableShortStack with(short one)
with in interface ImmutableShortStackFactorypublic ImmutableShortStack of(short... items)
of in interface ImmutableShortStackFactorypublic ImmutableShortStack with(short... items)
with in interface ImmutableShortStackFactorypublic ImmutableShortStack ofAll(ShortIterable items)
ofAll in interface ImmutableShortStackFactorypublic ImmutableShortStack withAll(ShortIterable items)
withAll in interface ImmutableShortStackFactorypublic ImmutableShortStack ofAll(Iterable<Short> iterable)
ofAll in interface ImmutableShortStackFactorypublic ImmutableShortStack withAll(Iterable<Short> iterable)
withAll in interface ImmutableShortStackFactorypublic ImmutableShortStack ofAllReversed(ShortIterable items)
ofAllReversed in interface ImmutableShortStackFactorypublic ImmutableShortStack withAllReversed(ShortIterable items)
withAllReversed in interface ImmutableShortStackFactoryCopyright © 2004–2020. All rights reserved.