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