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