java.io.Serializable
, java.lang.Comparable<ImmutableFloatIntMapFactoryImpl>
, ImmutableFloatIntMapFactory
public enum ImmutableFloatIntMapFactoryImpl extends java.lang.Enum<ImmutableFloatIntMapFactoryImpl> implements ImmutableFloatIntMapFactory
ImmutableFloatIntMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableFloatIntMap |
empty() |
|
<T> ImmutableFloatIntMap |
from(java.lang.Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction) |
Creates an
ImmutableFloatIntMap from an Iterable<T> by applying keyFunction and valueFunction . |
ImmutableFloatIntMap |
of() |
Same as
ImmutableFloatIntMapFactory.empty() . |
ImmutableFloatIntMap |
of(float key,
int value) |
|
ImmutableFloatIntMap |
ofAll(FloatIntMap map) |
|
static ImmutableFloatIntMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableFloatIntMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableFloatIntMap |
with() |
Same as
ImmutableFloatIntMapFactory.empty() . |
ImmutableFloatIntMap |
with(float key,
int value) |
|
ImmutableFloatIntMap |
withAll(FloatIntMap map) |
public static final ImmutableFloatIntMapFactoryImpl INSTANCE
public static ImmutableFloatIntMapFactoryImpl[] values()
for (ImmutableFloatIntMapFactoryImpl c : ImmutableFloatIntMapFactoryImpl.values()) System.out.println(c);
public static ImmutableFloatIntMapFactoryImpl valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic ImmutableFloatIntMap empty()
empty
in interface ImmutableFloatIntMapFactory
public ImmutableFloatIntMap of()
ImmutableFloatIntMapFactory
ImmutableFloatIntMapFactory.empty()
.of
in interface ImmutableFloatIntMapFactory
public ImmutableFloatIntMap with()
ImmutableFloatIntMapFactory
ImmutableFloatIntMapFactory.empty()
.with
in interface ImmutableFloatIntMapFactory
public ImmutableFloatIntMap of(float key, int value)
ImmutableFloatIntMapFactory
of
in interface ImmutableFloatIntMapFactory
public ImmutableFloatIntMap with(float key, int value)
with
in interface ImmutableFloatIntMapFactory
public ImmutableFloatIntMap ofAll(FloatIntMap map)
ImmutableFloatIntMapFactory
ofAll
in interface ImmutableFloatIntMapFactory
public ImmutableFloatIntMap withAll(FloatIntMap map)
withAll
in interface ImmutableFloatIntMapFactory
public <T> ImmutableFloatIntMap from(java.lang.Iterable<T> iterable, FloatFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
ImmutableFloatIntMapFactory
ImmutableFloatIntMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableFloatIntMapFactory
Copyright © 2004–2020. All rights reserved.