public enum ImmutableShortShortMapFactoryImpl extends Enum<ImmutableShortShortMapFactoryImpl> implements ImmutableShortShortMapFactory
ImmutableShortShortMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableShortShortMap |
empty() |
<T> ImmutableShortShortMap |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction) |
ImmutableShortShortMap |
of() |
ImmutableShortShortMap |
of(short key,
short value) |
ImmutableShortShortMap |
ofAll(ShortShortMap map) |
static ImmutableShortShortMapFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableShortShortMapFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableShortShortMap |
with() |
ImmutableShortShortMap |
with(short key,
short value) |
ImmutableShortShortMap |
withAll(ShortShortMap map) |
public static final ImmutableShortShortMapFactoryImpl INSTANCE
public static ImmutableShortShortMapFactoryImpl[] values()
for (ImmutableShortShortMapFactoryImpl c : ImmutableShortShortMapFactoryImpl.values()) System.out.println(c);
public static ImmutableShortShortMapFactoryImpl 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 ImmutableShortShortMap empty()
empty in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap of()
of in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap with()
with in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap of(short key, short value)
of in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap with(short key, short value)
with in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap ofAll(ShortShortMap map)
ofAll in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap withAll(ShortShortMap map)
withAll in interface ImmutableShortShortMapFactorypublic <T> ImmutableShortShortMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
from in interface ImmutableShortShortMapFactoryCopyright © 2004–2019. All rights reserved.