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