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