Serializable
, Comparable<ImmutableByteByteMapFactoryImpl>
, ImmutableByteByteMapFactory
public enum ImmutableByteByteMapFactoryImpl extends Enum<ImmutableByteByteMapFactoryImpl> implements ImmutableByteByteMapFactory
ImmutableByteByteMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableByteByteMap |
empty() |
|
<T> ImmutableByteByteMap |
from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction) |
Creates an
ImmutableByteByteMap from an Iterable<T> by applying keyFunction and valueFunction . |
ImmutableByteByteMap |
of() |
Same as
ImmutableByteByteMapFactory.empty() . |
ImmutableByteByteMap |
of(byte key,
byte value) |
|
ImmutableByteByteMap |
ofAll(ByteByteMap map) |
|
static ImmutableByteByteMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableByteByteMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableByteByteMap |
with() |
Same as
ImmutableByteByteMapFactory.empty() . |
ImmutableByteByteMap |
with(byte key,
byte value) |
|
ImmutableByteByteMap |
withAll(ByteByteMap map) |
public static final ImmutableByteByteMapFactoryImpl INSTANCE
public static ImmutableByteByteMapFactoryImpl[] values()
for (ImmutableByteByteMapFactoryImpl c : ImmutableByteByteMapFactoryImpl.values()) System.out.println(c);
public static ImmutableByteByteMapFactoryImpl 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 ImmutableByteByteMap empty()
empty
in interface ImmutableByteByteMapFactory
public ImmutableByteByteMap of()
ImmutableByteByteMapFactory
ImmutableByteByteMapFactory.empty()
.of
in interface ImmutableByteByteMapFactory
public ImmutableByteByteMap with()
ImmutableByteByteMapFactory
ImmutableByteByteMapFactory.empty()
.with
in interface ImmutableByteByteMapFactory
public ImmutableByteByteMap of(byte key, byte value)
ImmutableByteByteMapFactory
of
in interface ImmutableByteByteMapFactory
public ImmutableByteByteMap with(byte key, byte value)
with
in interface ImmutableByteByteMapFactory
public ImmutableByteByteMap ofAll(ByteByteMap map)
ImmutableByteByteMapFactory
ofAll
in interface ImmutableByteByteMapFactory
public ImmutableByteByteMap withAll(ByteByteMap map)
withAll
in interface ImmutableByteByteMapFactory
public <T> ImmutableByteByteMap from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
ImmutableByteByteMapFactory
ImmutableByteByteMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableByteByteMapFactory
Copyright © 2004–2019. All rights reserved.