Serializable, Comparable<ImmutableByteBagFactoryImpl>, ImmutableByteBagFactorypublic enum ImmutableByteBagFactoryImpl extends Enum<ImmutableByteBagFactoryImpl> implements ImmutableByteBagFactory
ImmutableByteBag.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableByteBag |
empty() |
|
ImmutableByteBag |
of() |
Same as
ImmutableByteBagFactory.empty(). |
ImmutableByteBag |
of(byte one) |
Same as
ImmutableByteBagFactory.with(byte). |
ImmutableByteBag |
of(byte... items) |
Same as
ImmutableByteBagFactory.with(byte[]). |
ImmutableByteBag |
ofAll(Iterable<Byte> iterable) |
Same as
#withAll(IterableByte). |
ImmutableByteBag |
ofAll(ByteIterable items) |
|
static ImmutableByteBagFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableByteBagFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableByteBag |
with() |
Same as
ImmutableByteBagFactory.empty(). |
ImmutableByteBag |
with(byte one) |
|
ImmutableByteBag |
with(byte... items) |
|
ImmutableByteBag |
withAll(Iterable<Byte> iterable) |
|
ImmutableByteBag |
withAll(ByteIterable items) |
public static final ImmutableByteBagFactoryImpl INSTANCE
public static ImmutableByteBagFactoryImpl[] values()
for (ImmutableByteBagFactoryImpl c : ImmutableByteBagFactoryImpl.values()) System.out.println(c);
public static ImmutableByteBagFactoryImpl 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 ImmutableByteBag empty()
empty in interface ImmutableByteBagFactorypublic ImmutableByteBag of()
ImmutableByteBagFactoryImmutableByteBagFactory.empty().of in interface ImmutableByteBagFactorypublic ImmutableByteBag with()
ImmutableByteBagFactoryImmutableByteBagFactory.empty().with in interface ImmutableByteBagFactorypublic ImmutableByteBag of(byte one)
ImmutableByteBagFactoryImmutableByteBagFactory.with(byte).of in interface ImmutableByteBagFactorypublic ImmutableByteBag with(byte one)
with in interface ImmutableByteBagFactorypublic ImmutableByteBag of(byte... items)
ImmutableByteBagFactoryImmutableByteBagFactory.with(byte[]).of in interface ImmutableByteBagFactorypublic ImmutableByteBag with(byte... items)
with in interface ImmutableByteBagFactorypublic ImmutableByteBag ofAll(ByteIterable items)
ImmutableByteBagFactoryofAll in interface ImmutableByteBagFactorypublic ImmutableByteBag withAll(ByteIterable items)
withAll in interface ImmutableByteBagFactorypublic ImmutableByteBag ofAll(Iterable<Byte> iterable)
ImmutableByteBagFactory#withAll(IterableByte).ofAll in interface ImmutableByteBagFactorypublic ImmutableByteBag withAll(Iterable<Byte> iterable)
withAll in interface ImmutableByteBagFactoryCopyright © 2004–2019. All rights reserved.