ImmutableCharStackFactorypublic enum ImmutableCharStackFactoryImpl extends java.lang.Enum<ImmutableCharStackFactoryImpl> implements ImmutableCharStackFactory
ImmutableCharStack.
This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableCharStack |
empty() |
|
ImmutableCharStack |
of() |
Same as
ImmutableCharStackFactory.empty(). |
ImmutableCharStack |
of(char one) |
Same as
ImmutableCharStackFactory.with(char). |
ImmutableCharStack |
of(char... items) |
|
ImmutableCharStack |
ofAll(CharIterable items) |
|
ImmutableCharStack |
ofAllReversed(CharIterable items) |
|
static ImmutableCharStackFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableCharStackFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableCharStack |
with() |
Same as
ImmutableCharStackFactory.empty(). |
ImmutableCharStack |
with(char one) |
|
ImmutableCharStack |
with(char... items) |
|
ImmutableCharStack |
withAll(CharIterable items) |
|
ImmutableCharStack |
withAllReversed(CharIterable items) |
public static final ImmutableCharStackFactoryImpl INSTANCE
public static ImmutableCharStackFactoryImpl[] values()
for (ImmutableCharStackFactoryImpl c : ImmutableCharStackFactoryImpl.values()) System.out.println(c);
public static ImmutableCharStackFactoryImpl 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 ImmutableCharStack empty()
empty in interface ImmutableCharStackFactorypublic ImmutableCharStack of()
ImmutableCharStackFactoryImmutableCharStackFactory.empty().of in interface ImmutableCharStackFactorypublic ImmutableCharStack with()
ImmutableCharStackFactoryImmutableCharStackFactory.empty().with in interface ImmutableCharStackFactorypublic ImmutableCharStack of(char one)
ImmutableCharStackFactoryImmutableCharStackFactory.with(char).of in interface ImmutableCharStackFactorypublic ImmutableCharStack with(char one)
with in interface ImmutableCharStackFactorypublic ImmutableCharStack of(char... items)
ImmutableCharStackFactoryof in interface ImmutableCharStackFactorypublic ImmutableCharStack with(char... items)
with in interface ImmutableCharStackFactorypublic ImmutableCharStack ofAll(CharIterable items)
ImmutableCharStackFactoryofAll in interface ImmutableCharStackFactorypublic ImmutableCharStack withAll(CharIterable items)
withAll in interface ImmutableCharStackFactorypublic ImmutableCharStack ofAllReversed(CharIterable items)
ImmutableCharStackFactoryofAllReversed in interface ImmutableCharStackFactorypublic ImmutableCharStack withAllReversed(CharIterable items)
withAllReversed in interface ImmutableCharStackFactoryCopyright © 2004–2017. All rights reserved.