Serializable
, Comparable<ImmutableObjectDoubleMapFactoryImpl>
, ImmutableObjectDoubleMapFactory
public 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 ImmutableObjectDoubleMapFactory
public <K> ImmutableObjectDoubleMap<K> of()
ImmutableObjectDoubleMapFactory
of
in interface ImmutableObjectDoubleMapFactory
public <K> ImmutableObjectDoubleMap<K> with()
ImmutableObjectDoubleMapFactory
with
in interface ImmutableObjectDoubleMapFactory
public <K> ImmutableObjectDoubleMap<K> of(K key, double value)
ImmutableObjectDoubleMapFactory
of
in interface ImmutableObjectDoubleMapFactory
public <K> ImmutableObjectDoubleMap<K> with(K key, double value)
with
in interface ImmutableObjectDoubleMapFactory
public <K> ImmutableObjectDoubleMap<K> ofAll(ObjectDoubleMap<? extends K> map)
ImmutableObjectDoubleMapFactory
ofAll
in interface ImmutableObjectDoubleMapFactory
public <K> ImmutableObjectDoubleMap<K> withAll(ObjectDoubleMap<? extends K> map)
withAll
in interface ImmutableObjectDoubleMapFactory
public <T,K> ImmutableObjectDoubleMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, DoubleFunction<? super T> valueFunction)
ImmutableObjectDoubleMapFactory
ImmutableObjectDoubleMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableObjectDoubleMapFactory
Copyright © 2004–2019. All rights reserved.