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