Serializable, Comparable<ImmutableObjectDoubleMapFactoryImpl>, ImmutableObjectDoubleMapFactorypublic enum ImmutableObjectDoubleMapFactoryImpl extends Enum<ImmutableObjectDoubleMapFactoryImpl> implements ImmutableObjectDoubleMapFactory
ImmutableObjectDoubleMap.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<K> ImmutableObjectDoubleMap<K> |
empty() |
|
<T,K> ImmutableObjectDoubleMap<K> |
from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
DoubleFunction<? super T> valueFunction) |
Creates an
ImmutableObjectDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> ImmutableObjectDoubleMap<K> |
of() |
|
<K> ImmutableObjectDoubleMap<K> |
of(K key,
double value) |
|
<K> ImmutableObjectDoubleMap<K> |
ofAll(ObjectDoubleMap<? extends K> map) |
|
static ImmutableObjectDoubleMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableObjectDoubleMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<K> ImmutableObjectDoubleMap<K> |
with() |
|
<K> ImmutableObjectDoubleMap<K> |
with(K key,
double value) |
|
<K> ImmutableObjectDoubleMap<K> |
withAll(ObjectDoubleMap<? extends K> map) |
public static final ImmutableObjectDoubleMapFactoryImpl INSTANCE
public static ImmutableObjectDoubleMapFactoryImpl[] values()
for (ImmutableObjectDoubleMapFactoryImpl c : ImmutableObjectDoubleMapFactoryImpl.values()) System.out.println(c);
public static ImmutableObjectDoubleMapFactoryImpl 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 <K> ImmutableObjectDoubleMap<K> empty()
empty in interface ImmutableObjectDoubleMapFactorypublic <K> ImmutableObjectDoubleMap<K> of()
ImmutableObjectDoubleMapFactoryof in interface ImmutableObjectDoubleMapFactorypublic <K> ImmutableObjectDoubleMap<K> with()
ImmutableObjectDoubleMapFactorywith in interface ImmutableObjectDoubleMapFactorypublic <K> ImmutableObjectDoubleMap<K> of(K key, double value)
ImmutableObjectDoubleMapFactoryof in interface ImmutableObjectDoubleMapFactorypublic <K> ImmutableObjectDoubleMap<K> with(K key, double value)
with in interface ImmutableObjectDoubleMapFactorypublic <K> ImmutableObjectDoubleMap<K> ofAll(ObjectDoubleMap<? extends K> map)
ImmutableObjectDoubleMapFactoryofAll in interface ImmutableObjectDoubleMapFactorypublic <K> ImmutableObjectDoubleMap<K> withAll(ObjectDoubleMap<? extends K> map)
withAll in interface ImmutableObjectDoubleMapFactorypublic <T,K> ImmutableObjectDoubleMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, DoubleFunction<? super T> valueFunction)
ImmutableObjectDoubleMapFactoryImmutableObjectDoubleMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableObjectDoubleMapFactoryCopyright © 2004–2019. All rights reserved.