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