Serializable
, Comparable<MutableShortStackFactoryImpl>
, MutableShortStackFactory
public enum MutableShortStackFactoryImpl extends 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(Iterable<Short> iterable) |
Same as
#withAll(IterableShort) . |
MutableShortStack |
ofAll(ShortIterable items) |
|
MutableShortStack |
ofAllReversed(ShortIterable items) |
|
static MutableShortStackFactoryImpl |
valueOf(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(Iterable<Short> iterable) |
|
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(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 MutableShortStack empty()
empty
in interface MutableShortStackFactory
public MutableShortStack of()
MutableShortStackFactory
MutableShortStackFactory.empty()
.of
in interface MutableShortStackFactory
public MutableShortStack with()
MutableShortStackFactory
MutableShortStackFactory.empty()
.with
in interface MutableShortStackFactory
public MutableShortStack of(short... items)
MutableShortStackFactory
of
in interface MutableShortStackFactory
public MutableShortStack with(short... items)
with
in interface MutableShortStackFactory
public MutableShortStack ofAll(ShortIterable items)
MutableShortStackFactory
ofAll
in interface MutableShortStackFactory
public MutableShortStack withAll(ShortIterable items)
withAll
in interface MutableShortStackFactory
public MutableShortStack ofAll(Iterable<Short> iterable)
MutableShortStackFactory
#withAll(IterableShort)
.ofAll
in interface MutableShortStackFactory
public MutableShortStack withAll(Iterable<Short> iterable)
withAll
in interface MutableShortStackFactory
public MutableShortStack ofAllReversed(ShortIterable items)
MutableShortStackFactory
ofAllReversed
in interface MutableShortStackFactory
public MutableShortStack withAllReversed(ShortIterable items)
withAllReversed
in interface MutableShortStackFactory
Copyright © 2004–2019. All rights reserved.