public enum ImmutableCharDoubleMapFactoryImpl extends Enum<ImmutableCharDoubleMapFactoryImpl> implements ImmutableCharDoubleMapFactory
ImmutableCharDoubleMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableCharDoubleMap |
empty() |
<T> ImmutableCharDoubleMap |
from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction) |
ImmutableCharDoubleMap |
of() |
ImmutableCharDoubleMap |
of(char key,
double value) |
ImmutableCharDoubleMap |
ofAll(CharDoubleMap map) |
static ImmutableCharDoubleMapFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableCharDoubleMapFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableCharDoubleMap |
with() |
ImmutableCharDoubleMap |
with(char key,
double value) |
ImmutableCharDoubleMap |
withAll(CharDoubleMap map) |
public static final ImmutableCharDoubleMapFactoryImpl INSTANCE
public static ImmutableCharDoubleMapFactoryImpl[] values()
for (ImmutableCharDoubleMapFactoryImpl c : ImmutableCharDoubleMapFactoryImpl.values()) System.out.println(c);
public static ImmutableCharDoubleMapFactoryImpl 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 ImmutableCharDoubleMap empty()
empty in interface ImmutableCharDoubleMapFactorypublic ImmutableCharDoubleMap of()
of in interface ImmutableCharDoubleMapFactorypublic ImmutableCharDoubleMap with()
with in interface ImmutableCharDoubleMapFactorypublic ImmutableCharDoubleMap of(char key, double value)
of in interface ImmutableCharDoubleMapFactorypublic ImmutableCharDoubleMap with(char key, double value)
with in interface ImmutableCharDoubleMapFactorypublic ImmutableCharDoubleMap ofAll(CharDoubleMap map)
ofAll in interface ImmutableCharDoubleMapFactorypublic ImmutableCharDoubleMap withAll(CharDoubleMap map)
withAll in interface ImmutableCharDoubleMapFactorypublic <T> ImmutableCharDoubleMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
from in interface ImmutableCharDoubleMapFactoryCopyright © 2004–2020. All rights reserved.