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