public enum ImmutableShortIntMapFactoryImpl extends Enum<ImmutableShortIntMapFactoryImpl> implements ImmutableShortIntMapFactory
ImmutableShortIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableShortIntMap |
empty() |
<T> ImmutableShortIntMap |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction) |
ImmutableShortIntMap |
of() |
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() |
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()
of in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap with()
with in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap of(short key, int value)
of in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap with(short key, int value)
with in interface ImmutableShortIntMapFactorypublic ImmutableShortIntMap ofAll(ShortIntMap map)
ofAll 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)
from in interface ImmutableShortIntMapFactoryCopyright © 2004–2021. All rights reserved.