Serializable
, Comparable<MutableDoubleDoubleMapFactoryImpl>
, MutableDoubleDoubleMapFactory
public enum MutableDoubleDoubleMapFactoryImpl extends Enum<MutableDoubleDoubleMapFactoryImpl> implements MutableDoubleDoubleMapFactory
MutableDoubleDoubleMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
MutableDoubleDoubleMap |
empty() |
|
<T> MutableDoubleDoubleMap |
from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction) |
Creates an
MutableDoubleDoubleMap from an Iterable<T> by applying keyFunction and valueFunction . |
MutableDoubleDoubleMap |
of() |
|
MutableDoubleDoubleMap |
ofAll(DoubleDoubleMap map) |
|
MutableDoubleDoubleMap |
ofInitialCapacity(int capacity) |
|
static MutableDoubleDoubleMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableDoubleDoubleMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableDoubleDoubleMap |
with() |
|
MutableDoubleDoubleMap |
withAll(DoubleDoubleMap map) |
|
MutableDoubleDoubleMap |
withInitialCapacity(int capacity) |
public static final MutableDoubleDoubleMapFactoryImpl INSTANCE
public static MutableDoubleDoubleMapFactoryImpl[] values()
for (MutableDoubleDoubleMapFactoryImpl c : MutableDoubleDoubleMapFactoryImpl.values()) System.out.println(c);
public static MutableDoubleDoubleMapFactoryImpl valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic MutableDoubleDoubleMap empty()
empty
in interface MutableDoubleDoubleMapFactory
public MutableDoubleDoubleMap of()
MutableDoubleDoubleMapFactory
of
in interface MutableDoubleDoubleMapFactory
public MutableDoubleDoubleMap with()
MutableDoubleDoubleMapFactory
with
in interface MutableDoubleDoubleMapFactory
public MutableDoubleDoubleMap ofInitialCapacity(int capacity)
MutableDoubleDoubleMapFactory
MutableDoubleDoubleMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableDoubleDoubleMapFactory
public MutableDoubleDoubleMap withInitialCapacity(int capacity)
MutableDoubleDoubleMapFactory
MutableDoubleDoubleMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableDoubleDoubleMapFactory
public MutableDoubleDoubleMap ofAll(DoubleDoubleMap map)
MutableDoubleDoubleMapFactory
ofAll
in interface MutableDoubleDoubleMapFactory
public MutableDoubleDoubleMap withAll(DoubleDoubleMap map)
withAll
in interface MutableDoubleDoubleMapFactory
public <T> MutableDoubleDoubleMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
MutableDoubleDoubleMapFactory
MutableDoubleDoubleMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableDoubleDoubleMapFactory
Copyright © 2004–2019. All rights reserved.