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