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