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