ImmutableByteBagFactorypublic enum ImmutableByteBagFactoryImpl extends java.lang.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(ByteIterable items) |
|
static ImmutableByteBagFactoryImpl |
valueOf(java.lang.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(ByteIterable items) |
public static final ImmutableByteBagFactoryImpl INSTANCE
public static ImmutableByteBagFactoryImpl[] values()
for (ImmutableByteBagFactoryImpl c : ImmutableByteBagFactoryImpl.values()) System.out.println(c);
public static ImmutableByteBagFactoryImpl 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 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 ImmutableByteBagFactoryCopyright © 2004–2017. All rights reserved.