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