java.io.Serializable, java.lang.Comparable<MutableIntCharMapFactoryImpl>, MutableIntCharMapFactorypublic enum MutableIntCharMapFactoryImpl extends java.lang.Enum<MutableIntCharMapFactoryImpl> implements MutableIntCharMapFactory
MutableIntCharMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
MutableIntCharMap |
empty() |
|
<T> MutableIntCharMap |
from(java.lang.Iterable<T> iterable,
IntFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction) |
Creates an
MutableIntCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableIntCharMap |
of() |
Same as
MutableIntCharMapFactory.empty(). |
MutableIntCharMap |
ofAll(IntCharMap map) |
|
MutableIntCharMap |
ofInitialCapacity(int capacity) |
Same as
MutableIntCharMapFactory.empty(). |
static MutableIntCharMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableIntCharMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableIntCharMap |
with() |
Same as
MutableIntCharMapFactory.empty(). |
MutableIntCharMap |
withAll(IntCharMap map) |
|
MutableIntCharMap |
withInitialCapacity(int capacity) |
Same as
MutableIntCharMapFactory.empty(). |
public static final MutableIntCharMapFactoryImpl INSTANCE
public static MutableIntCharMapFactoryImpl[] values()
for (MutableIntCharMapFactoryImpl c : MutableIntCharMapFactoryImpl.values()) System.out.println(c);
public static MutableIntCharMapFactoryImpl valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic MutableIntCharMap empty()
empty in interface MutableIntCharMapFactorypublic MutableIntCharMap of()
MutableIntCharMapFactoryMutableIntCharMapFactory.empty().of in interface MutableIntCharMapFactorypublic MutableIntCharMap with()
MutableIntCharMapFactoryMutableIntCharMapFactory.empty().with in interface MutableIntCharMapFactorypublic MutableIntCharMap ofInitialCapacity(int capacity)
MutableIntCharMapFactoryMutableIntCharMapFactory.empty(). but takes in an initial capacityofInitialCapacity in interface MutableIntCharMapFactorypublic MutableIntCharMap withInitialCapacity(int capacity)
MutableIntCharMapFactoryMutableIntCharMapFactory.empty(). but takes in an initial capacitywithInitialCapacity in interface MutableIntCharMapFactorypublic MutableIntCharMap ofAll(IntCharMap map)
MutableIntCharMapFactoryofAll in interface MutableIntCharMapFactorypublic MutableIntCharMap withAll(IntCharMap map)
withAll in interface MutableIntCharMapFactorypublic <T> MutableIntCharMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
MutableIntCharMapFactoryMutableIntCharMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface MutableIntCharMapFactoryCopyright © 2004–2020. All rights reserved.