MutableIntStackFactory
public 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 MutableIntStackFactory
public MutableIntStack of()
MutableIntStackFactory
MutableIntStackFactory.empty()
.of
in interface MutableIntStackFactory
public MutableIntStack with()
MutableIntStackFactory
MutableIntStackFactory.empty()
.with
in interface MutableIntStackFactory
public MutableIntStack of(int... items)
MutableIntStackFactory
MutableIntStackFactory.with(int[])
.of
in interface MutableIntStackFactory
public MutableIntStack with(int... items)
with
in interface MutableIntStackFactory
public MutableIntStack ofAll(IntIterable items)
MutableIntStackFactory
ofAll
in interface MutableIntStackFactory
public MutableIntStack withAll(IntIterable items)
withAll
in interface MutableIntStackFactory
public MutableIntStack ofAllReversed(IntIterable items)
MutableIntStackFactory
ofAllReversed
in interface MutableIntStackFactory
public MutableIntStack withAllReversed(IntIterable items)
withAllReversed
in interface MutableIntStackFactory
public MutableIntStack ofAll(java.util.stream.IntStream items)
ofAll
in interface MutableIntStackFactory
public MutableIntStack withAll(java.util.stream.IntStream items)
withAll
in interface MutableIntStackFactory
Copyright © 2004–2018. All rights reserved.