java.io.Serializable, java.lang.Comparable<ImmutableIntDoubleMapFactoryImpl>, ImmutableIntDoubleMapFactorypublic enum ImmutableIntDoubleMapFactoryImpl extends java.lang.Enum<ImmutableIntDoubleMapFactoryImpl> implements ImmutableIntDoubleMapFactory
ImmutableIntDoubleMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableIntDoubleMap |
empty() |
|
<T> ImmutableIntDoubleMap |
from(java.lang.Iterable<T> iterable,
IntFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction) |
Creates an
ImmutableIntDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableIntDoubleMap |
of() |
Same as
ImmutableIntDoubleMapFactory.empty(). |
ImmutableIntDoubleMap |
of(int key,
double value) |
|
ImmutableIntDoubleMap |
ofAll(IntDoubleMap map) |
|
static ImmutableIntDoubleMapFactoryImpl |
valueOf(java.lang.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() |
Same as
ImmutableIntDoubleMapFactory.empty(). |
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(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 ImmutableIntDoubleMap empty()
empty in interface ImmutableIntDoubleMapFactorypublic ImmutableIntDoubleMap of()
ImmutableIntDoubleMapFactoryImmutableIntDoubleMapFactory.empty().of in interface ImmutableIntDoubleMapFactorypublic ImmutableIntDoubleMap with()
ImmutableIntDoubleMapFactoryImmutableIntDoubleMapFactory.empty().with in interface ImmutableIntDoubleMapFactorypublic ImmutableIntDoubleMap of(int key, double value)
ImmutableIntDoubleMapFactoryof in interface ImmutableIntDoubleMapFactorypublic ImmutableIntDoubleMap with(int key, double value)
with in interface ImmutableIntDoubleMapFactorypublic ImmutableIntDoubleMap ofAll(IntDoubleMap map)
ImmutableIntDoubleMapFactoryofAll in interface ImmutableIntDoubleMapFactorypublic ImmutableIntDoubleMap withAll(IntDoubleMap map)
withAll in interface ImmutableIntDoubleMapFactorypublic <T> ImmutableIntDoubleMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
ImmutableIntDoubleMapFactoryImmutableIntDoubleMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableIntDoubleMapFactoryCopyright © 2004–2020. All rights reserved.