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