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