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