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