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