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