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