ImmutableCharStackFactory
public 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 ImmutableCharStackFactory
public ImmutableCharStack of()
ImmutableCharStackFactory
ImmutableCharStackFactory.empty()
.of
in interface ImmutableCharStackFactory
public ImmutableCharStack with()
ImmutableCharStackFactory
ImmutableCharStackFactory.empty()
.with
in interface ImmutableCharStackFactory
public ImmutableCharStack of(char one)
ImmutableCharStackFactory
ImmutableCharStackFactory.with(char)
.of
in interface ImmutableCharStackFactory
public ImmutableCharStack with(char one)
with
in interface ImmutableCharStackFactory
public ImmutableCharStack of(char... items)
ImmutableCharStackFactory
of
in interface ImmutableCharStackFactory
public ImmutableCharStack with(char... items)
with
in interface ImmutableCharStackFactory
public ImmutableCharStack ofAll(CharIterable items)
ImmutableCharStackFactory
ofAll
in interface ImmutableCharStackFactory
public ImmutableCharStack withAll(CharIterable items)
withAll
in interface ImmutableCharStackFactory
public ImmutableCharStack ofAllReversed(CharIterable items)
ImmutableCharStackFactory
ofAllReversed
in interface ImmutableCharStackFactory
public ImmutableCharStack withAllReversed(CharIterable items)
withAllReversed
in interface ImmutableCharStackFactory
Copyright © 2004–2017. All rights reserved.