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