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