Serializable, Comparable<ImmutableIntCharMapFactoryImpl>, ImmutableIntCharMapFactorypublic enum ImmutableIntCharMapFactoryImpl extends Enum<ImmutableIntCharMapFactoryImpl> implements ImmutableIntCharMapFactory
ImmutableIntCharMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableIntCharMap |
empty() |
|
<T> ImmutableIntCharMap |
from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction) |
Creates an
ImmutableIntCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableIntCharMap |
of() |
Same as
ImmutableIntCharMapFactory.empty(). |
ImmutableIntCharMap |
of(int key,
char value) |
|
ImmutableIntCharMap |
ofAll(IntCharMap map) |
|
static ImmutableIntCharMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableIntCharMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntCharMap |
with() |
Same as
ImmutableIntCharMapFactory.empty(). |
ImmutableIntCharMap |
with(int key,
char value) |
|
ImmutableIntCharMap |
withAll(IntCharMap map) |
public static final ImmutableIntCharMapFactoryImpl INSTANCE
public static ImmutableIntCharMapFactoryImpl[] values()
for (ImmutableIntCharMapFactoryImpl c : ImmutableIntCharMapFactoryImpl.values()) System.out.println(c);
public static ImmutableIntCharMapFactoryImpl 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 ImmutableIntCharMap empty()
empty in interface ImmutableIntCharMapFactorypublic ImmutableIntCharMap of()
ImmutableIntCharMapFactoryImmutableIntCharMapFactory.empty().of in interface ImmutableIntCharMapFactorypublic ImmutableIntCharMap with()
ImmutableIntCharMapFactoryImmutableIntCharMapFactory.empty().with in interface ImmutableIntCharMapFactorypublic ImmutableIntCharMap of(int key, char value)
ImmutableIntCharMapFactoryof in interface ImmutableIntCharMapFactorypublic ImmutableIntCharMap with(int key, char value)
with in interface ImmutableIntCharMapFactorypublic ImmutableIntCharMap ofAll(IntCharMap map)
ImmutableIntCharMapFactoryofAll in interface ImmutableIntCharMapFactorypublic ImmutableIntCharMap withAll(IntCharMap map)
withAll in interface ImmutableIntCharMapFactorypublic <T> ImmutableIntCharMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
ImmutableIntCharMapFactoryImmutableIntCharMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableIntCharMapFactoryCopyright © 2004–2019. All rights reserved.