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