Serializable, Comparable<MutableObjectFloatMapFactoryImpl>, MutableObjectFloatMapFactorypublic 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 MutableObjectFloatMapFactorypublic <K> MutableObjectFloatMap<K> of()
MutableObjectFloatMapFactoryMutableObjectFloatMapFactory.empty().of in interface MutableObjectFloatMapFactorypublic <K> MutableObjectFloatMap<K> with()
MutableObjectFloatMapFactoryMutableObjectFloatMapFactory.empty().with in interface MutableObjectFloatMapFactorypublic <K> MutableObjectFloatMap<K> ofInitialCapacity(int capacity)
MutableObjectFloatMapFactoryMutableObjectFloatMapFactory.empty(). but takes in an initial capacityofInitialCapacity in interface MutableObjectFloatMapFactorypublic <K> MutableObjectFloatMap<K> withInitialCapacity(int capacity)
MutableObjectFloatMapFactoryMutableObjectFloatMapFactory.empty(). but takes in an initial capacitywithInitialCapacity in interface MutableObjectFloatMapFactorypublic <K> MutableObjectFloatMap<K> ofAll(ObjectFloatMap<? extends K> map)
MutableObjectFloatMapFactoryofAll in interface MutableObjectFloatMapFactorypublic <K> MutableObjectFloatMap<K> withAll(ObjectFloatMap<? extends K> map)
withAll in interface MutableObjectFloatMapFactorypublic <T,K> MutableObjectFloatMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, FloatFunction<? super T> valueFunction)
MutableObjectFloatMapFactoryMutableObjectFloatMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface MutableObjectFloatMapFactoryCopyright © 2004–2019. All rights reserved.