java.io.Serializable, java.lang.Comparable<ImmutableCharLongMapFactoryImpl>, ImmutableCharLongMapFactorypublic enum ImmutableCharLongMapFactoryImpl extends java.lang.Enum<ImmutableCharLongMapFactoryImpl> implements ImmutableCharLongMapFactory
ImmutableCharLongMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableCharLongMap |
empty() |
|
<T> ImmutableCharLongMap |
from(java.lang.Iterable<T> iterable,
CharFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction) |
Creates an
ImmutableCharLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableCharLongMap |
of() |
Same as
ImmutableCharLongMapFactory.empty(). |
ImmutableCharLongMap |
of(char key,
long value) |
|
ImmutableCharLongMap |
ofAll(CharLongMap map) |
|
static ImmutableCharLongMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableCharLongMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableCharLongMap |
with() |
Same as
ImmutableCharLongMapFactory.empty(). |
ImmutableCharLongMap |
with(char key,
long value) |
|
ImmutableCharLongMap |
withAll(CharLongMap map) |
public static final ImmutableCharLongMapFactoryImpl INSTANCE
public static ImmutableCharLongMapFactoryImpl[] values()
for (ImmutableCharLongMapFactoryImpl c : ImmutableCharLongMapFactoryImpl.values()) System.out.println(c);
public static ImmutableCharLongMapFactoryImpl valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic ImmutableCharLongMap empty()
empty in interface ImmutableCharLongMapFactorypublic ImmutableCharLongMap of()
ImmutableCharLongMapFactoryImmutableCharLongMapFactory.empty().of in interface ImmutableCharLongMapFactorypublic ImmutableCharLongMap with()
ImmutableCharLongMapFactoryImmutableCharLongMapFactory.empty().with in interface ImmutableCharLongMapFactorypublic ImmutableCharLongMap of(char key, long value)
ImmutableCharLongMapFactoryof in interface ImmutableCharLongMapFactorypublic ImmutableCharLongMap with(char key, long value)
with in interface ImmutableCharLongMapFactorypublic ImmutableCharLongMap ofAll(CharLongMap map)
ImmutableCharLongMapFactoryofAll in interface ImmutableCharLongMapFactorypublic ImmutableCharLongMap withAll(CharLongMap map)
withAll in interface ImmutableCharLongMapFactorypublic <T> ImmutableCharLongMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
ImmutableCharLongMapFactoryImmutableCharLongMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableCharLongMapFactoryCopyright © 2004–2020. All rights reserved.