Serializable, Comparable<ImmutableObjectByteMapFactoryImpl>, ImmutableObjectByteMapFactorypublic 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 ImmutableObjectByteMapFactorypublic <K> ImmutableObjectByteMap<K> of()
ImmutableObjectByteMapFactoryof in interface ImmutableObjectByteMapFactorypublic <K> ImmutableObjectByteMap<K> with()
ImmutableObjectByteMapFactorywith in interface ImmutableObjectByteMapFactorypublic <K> ImmutableObjectByteMap<K> of(K key, byte value)
ImmutableObjectByteMapFactoryof in interface ImmutableObjectByteMapFactorypublic <K> ImmutableObjectByteMap<K> with(K key, byte value)
with in interface ImmutableObjectByteMapFactorypublic <K> ImmutableObjectByteMap<K> ofAll(ObjectByteMap<? extends K> map)
ImmutableObjectByteMapFactoryofAll in interface ImmutableObjectByteMapFactorypublic <K> ImmutableObjectByteMap<K> withAll(ObjectByteMap<? extends K> map)
withAll in interface ImmutableObjectByteMapFactorypublic <T,K> ImmutableObjectByteMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ByteFunction<? super T> valueFunction)
ImmutableObjectByteMapFactoryImmutableObjectByteMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableObjectByteMapFactoryCopyright © 2004–2019. All rights reserved.