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