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