public enum ImmutableShortLongMapFactoryImpl extends Enum<ImmutableShortLongMapFactoryImpl> implements ImmutableShortLongMapFactory
ImmutableShortLongMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableShortLongMap |
empty() |
<T> ImmutableShortLongMap |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction) |
ImmutableShortLongMap |
of() |
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() |
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()
of in interface ImmutableShortLongMapFactorypublic ImmutableShortLongMap with()
with in interface ImmutableShortLongMapFactorypublic ImmutableShortLongMap of(short key, long value)
of in interface ImmutableShortLongMapFactorypublic ImmutableShortLongMap with(short key, long value)
with in interface ImmutableShortLongMapFactorypublic ImmutableShortLongMap ofAll(ShortLongMap map)
ofAll 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)
from in interface ImmutableShortLongMapFactoryCopyright © 2004–2019. All rights reserved.