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