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