java.io.Serializable
, java.lang.Comparable<MutableIntDoubleMapFactoryImpl>
, MutableIntDoubleMapFactory
public 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 MutableIntDoubleMapFactory
public MutableIntDoubleMap of()
MutableIntDoubleMapFactory
MutableIntDoubleMapFactory.empty()
.of
in interface MutableIntDoubleMapFactory
public MutableIntDoubleMap with()
MutableIntDoubleMapFactory
MutableIntDoubleMapFactory.empty()
.with
in interface MutableIntDoubleMapFactory
public MutableIntDoubleMap ofInitialCapacity(int capacity)
MutableIntDoubleMapFactory
MutableIntDoubleMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableIntDoubleMapFactory
public MutableIntDoubleMap withInitialCapacity(int capacity)
MutableIntDoubleMapFactory
MutableIntDoubleMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableIntDoubleMapFactory
public MutableIntDoubleMap ofAll(IntDoubleMap map)
MutableIntDoubleMapFactory
ofAll
in interface MutableIntDoubleMapFactory
public MutableIntDoubleMap withAll(IntDoubleMap map)
withAll
in interface MutableIntDoubleMapFactory
public <T> MutableIntDoubleMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
MutableIntDoubleMapFactory
MutableIntDoubleMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableIntDoubleMapFactory
Copyright © 2004–2020. All rights reserved.