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