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