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