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