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