Serializable
, Comparable<MutableObjectFloatMapFactoryImpl>
, MutableObjectFloatMapFactory
public enum MutableObjectFloatMapFactoryImpl extends Enum<MutableObjectFloatMapFactoryImpl> implements MutableObjectFloatMapFactory
MutableObjectFloatMap
.
This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
<K> MutableObjectFloatMap<K> |
empty() |
|
<T,K> MutableObjectFloatMap<K> |
from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
FloatFunction<? super T> valueFunction) |
Creates an
MutableObjectFloatMap from an Iterable<T> by applying keyFunction and valueFunction . |
<K> MutableObjectFloatMap<K> |
of() |
Same as
MutableObjectFloatMapFactory.empty() . |
<K> MutableObjectFloatMap<K> |
ofAll(ObjectFloatMap<? extends K> map) |
|
<K> MutableObjectFloatMap<K> |
ofInitialCapacity(int capacity) |
Same as
MutableObjectFloatMapFactory.empty() . |
static MutableObjectFloatMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableObjectFloatMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<K> MutableObjectFloatMap<K> |
with() |
Same as
MutableObjectFloatMapFactory.empty() . |
<K> MutableObjectFloatMap<K> |
withAll(ObjectFloatMap<? extends K> map) |
|
<K> MutableObjectFloatMap<K> |
withInitialCapacity(int capacity) |
Same as
MutableObjectFloatMapFactory.empty() . |
public static final MutableObjectFloatMapFactoryImpl INSTANCE
public static MutableObjectFloatMapFactoryImpl[] values()
for (MutableObjectFloatMapFactoryImpl c : MutableObjectFloatMapFactoryImpl.values()) System.out.println(c);
public static MutableObjectFloatMapFactoryImpl valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic <K> MutableObjectFloatMap<K> empty()
empty
in interface MutableObjectFloatMapFactory
public <K> MutableObjectFloatMap<K> of()
MutableObjectFloatMapFactory
MutableObjectFloatMapFactory.empty()
.of
in interface MutableObjectFloatMapFactory
public <K> MutableObjectFloatMap<K> with()
MutableObjectFloatMapFactory
MutableObjectFloatMapFactory.empty()
.with
in interface MutableObjectFloatMapFactory
public <K> MutableObjectFloatMap<K> ofInitialCapacity(int capacity)
MutableObjectFloatMapFactory
MutableObjectFloatMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableObjectFloatMapFactory
public <K> MutableObjectFloatMap<K> withInitialCapacity(int capacity)
MutableObjectFloatMapFactory
MutableObjectFloatMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableObjectFloatMapFactory
public <K> MutableObjectFloatMap<K> ofAll(ObjectFloatMap<? extends K> map)
MutableObjectFloatMapFactory
ofAll
in interface MutableObjectFloatMapFactory
public <K> MutableObjectFloatMap<K> withAll(ObjectFloatMap<? extends K> map)
withAll
in interface MutableObjectFloatMapFactory
public <T,K> MutableObjectFloatMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, FloatFunction<? super T> valueFunction)
MutableObjectFloatMapFactory
MutableObjectFloatMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableObjectFloatMapFactory
Copyright © 2004–2019. All rights reserved.