ImmutableByteBagFactory
public 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 ImmutableByteBagFactory
public ImmutableByteBag of()
ImmutableByteBagFactory
ImmutableByteBagFactory.empty()
.of
in interface ImmutableByteBagFactory
public ImmutableByteBag with()
ImmutableByteBagFactory
ImmutableByteBagFactory.empty()
.with
in interface ImmutableByteBagFactory
public ImmutableByteBag of(byte one)
ImmutableByteBagFactory
ImmutableByteBagFactory.with(byte)
.of
in interface ImmutableByteBagFactory
public ImmutableByteBag with(byte one)
with
in interface ImmutableByteBagFactory
public ImmutableByteBag of(byte... items)
ImmutableByteBagFactory
ImmutableByteBagFactory.with(byte[])
.of
in interface ImmutableByteBagFactory
public ImmutableByteBag with(byte... items)
with
in interface ImmutableByteBagFactory
public ImmutableByteBag ofAll(ByteIterable items)
ImmutableByteBagFactory
ofAll
in interface ImmutableByteBagFactory
public ImmutableByteBag withAll(ByteIterable items)
withAll
in interface ImmutableByteBagFactory
Copyright © 2004–2018. All rights reserved.