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