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