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