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