Serializable, Comparable<ImmutableShortIntMapFactoryImpl>, ImmutableShortIntMapFactorypublic enum ImmutableShortIntMapFactoryImpl extends Enum<ImmutableShortIntMapFactoryImpl> implements ImmutableShortIntMapFactory
ImmutableShortIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableShortIntMap |
empty() |
|
<T> ImmutableShortIntMap |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction) |
Creates an
ImmutableShortIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableShortIntMap |
of() |
Same as
ImmutableShortIntMapFactory.empty(). |
ImmutableShortIntMap |
of(short key,
int value) |
|
ImmutableShortIntMap |
ofAll(ShortIntMap map) |
|
static ImmutableShortIntMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableShortIntMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableShortIntMap |
with() |
Same as
ImmutableShortIntMapFactory.empty(). |
ImmutableShortIntMap |
with(short key,
int value) |
|
ImmutableShortIntMap |
withAll(ShortIntMap map) |
public static final ImmutableShortIntMapFactoryImpl INSTANCE
public static ImmutableShortIntMapFactoryImpl[] values()
for (ImmutableShortIntMapFactoryImpl c : ImmutableShortIntMapFactoryImpl.values()) System.out.println(c);
public static ImmutableShortIntMapFactoryImpl 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 ImmutableShortIntMap empty()
empty in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap of()
ImmutableShortIntMapFactoryImmutableShortIntMapFactory.empty().of in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap with()
ImmutableShortIntMapFactoryImmutableShortIntMapFactory.empty().with in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap of(short key, int value)
ImmutableShortIntMapFactoryof in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap with(short key, int value)
with in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap ofAll(ShortIntMap map)
ImmutableShortIntMapFactoryofAll in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap withAll(ShortIntMap map)
withAll in interface ImmutableShortIntMapFactorypublic <T> ImmutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
ImmutableShortIntMapFactoryImmutableShortIntMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableShortIntMapFactoryCopyright © 2004–2019. All rights reserved.