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