java.io.Serializable, java.lang.Comparable<MutableCharCharMapFactoryImpl>, MutableCharCharMapFactorypublic enum MutableCharCharMapFactoryImpl extends java.lang.Enum<MutableCharCharMapFactoryImpl> implements MutableCharCharMapFactory
MutableCharCharMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
MutableCharCharMap |
empty() |
|
<T> MutableCharCharMap |
from(java.lang.Iterable<T> iterable,
CharFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction) |
Creates an
MutableCharCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableCharCharMap |
of() |
Same as
MutableCharCharMapFactory.empty(). |
MutableCharCharMap |
ofAll(CharCharMap map) |
|
MutableCharCharMap |
ofInitialCapacity(int capacity) |
Same as
MutableCharCharMapFactory.empty(). |
static MutableCharCharMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableCharCharMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableCharCharMap |
with() |
Same as
MutableCharCharMapFactory.empty(). |
MutableCharCharMap |
withAll(CharCharMap map) |
|
MutableCharCharMap |
withInitialCapacity(int capacity) |
Same as
MutableCharCharMapFactory.empty(). |
public static final MutableCharCharMapFactoryImpl INSTANCE
public static MutableCharCharMapFactoryImpl[] values()
for (MutableCharCharMapFactoryImpl c : MutableCharCharMapFactoryImpl.values()) System.out.println(c);
public static MutableCharCharMapFactoryImpl 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 MutableCharCharMap empty()
empty in interface MutableCharCharMapFactorypublic MutableCharCharMap of()
MutableCharCharMapFactoryMutableCharCharMapFactory.empty().of in interface MutableCharCharMapFactorypublic MutableCharCharMap with()
MutableCharCharMapFactoryMutableCharCharMapFactory.empty().with in interface MutableCharCharMapFactorypublic MutableCharCharMap ofInitialCapacity(int capacity)
MutableCharCharMapFactoryMutableCharCharMapFactory.empty(). but takes in an initial capacityofInitialCapacity in interface MutableCharCharMapFactorypublic MutableCharCharMap withInitialCapacity(int capacity)
MutableCharCharMapFactoryMutableCharCharMapFactory.empty(). but takes in an initial capacitywithInitialCapacity in interface MutableCharCharMapFactorypublic MutableCharCharMap ofAll(CharCharMap map)
MutableCharCharMapFactoryofAll in interface MutableCharCharMapFactorypublic MutableCharCharMap withAll(CharCharMap map)
withAll in interface MutableCharCharMapFactorypublic <T> MutableCharCharMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
MutableCharCharMapFactoryMutableCharCharMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface MutableCharCharMapFactoryCopyright © 2004–2020. All rights reserved.