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