MutableIntStackFactorypublic enum MutableIntStackFactoryImpl extends java.lang.Enum<MutableIntStackFactoryImpl> implements MutableIntStackFactory
MutableIntStack.
This file was automatically generated from template file mutablePrimitiveStackFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
MutableIntStack |
empty() |
|
MutableIntStack |
of() |
Same as
MutableIntStackFactory.empty(). |
MutableIntStack |
of(int... items) |
Same as
MutableIntStackFactory.with(int[]). |
MutableIntStack |
ofAll(java.util.stream.IntStream items) |
|
MutableIntStack |
ofAll(IntIterable items) |
|
MutableIntStack |
ofAllReversed(IntIterable items) |
|
static MutableIntStackFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableIntStackFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableIntStack |
with() |
Same as
MutableIntStackFactory.empty(). |
MutableIntStack |
with(int... items) |
|
MutableIntStack |
withAll(java.util.stream.IntStream items) |
|
MutableIntStack |
withAll(IntIterable items) |
|
MutableIntStack |
withAllReversed(IntIterable items) |
public static final MutableIntStackFactoryImpl INSTANCE
public static MutableIntStackFactoryImpl[] values()
for (MutableIntStackFactoryImpl c : MutableIntStackFactoryImpl.values()) System.out.println(c);
public static MutableIntStackFactoryImpl 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 MutableIntStack empty()
empty in interface MutableIntStackFactorypublic MutableIntStack of()
MutableIntStackFactoryMutableIntStackFactory.empty().of in interface MutableIntStackFactorypublic MutableIntStack with()
MutableIntStackFactoryMutableIntStackFactory.empty().with in interface MutableIntStackFactorypublic MutableIntStack of(int... items)
MutableIntStackFactoryMutableIntStackFactory.with(int[]).of in interface MutableIntStackFactorypublic MutableIntStack with(int... items)
with in interface MutableIntStackFactorypublic MutableIntStack ofAll(IntIterable items)
MutableIntStackFactoryofAll in interface MutableIntStackFactorypublic MutableIntStack withAll(IntIterable items)
withAll in interface MutableIntStackFactorypublic MutableIntStack ofAllReversed(IntIterable items)
MutableIntStackFactoryofAllReversed in interface MutableIntStackFactorypublic MutableIntStack withAllReversed(IntIterable items)
withAllReversed in interface MutableIntStackFactorypublic MutableIntStack ofAll(java.util.stream.IntStream items)
ofAll in interface MutableIntStackFactorypublic MutableIntStack withAll(java.util.stream.IntStream items)
withAll in interface MutableIntStackFactoryCopyright © 2004–2018. All rights reserved.