Enum MutableObjectFloatMapFactoryImpl
java.lang.Object
java.lang.Enum<MutableObjectFloatMapFactoryImpl>
org.eclipse.collections.impl.map.mutable.primitive.MutableObjectFloatMapFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableObjectFloatMapFactoryImpl>
,java.lang.constant.Constable
,MutableObjectFloatMapFactory
public enum MutableObjectFloatMapFactoryImpl extends Enum<MutableObjectFloatMapFactoryImpl> implements MutableObjectFloatMapFactory
MutableObjectFloatMapFactoryImpl is a factory implementation which creates instances of type
MutableObjectFloatMap
.
This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
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 anMutableObjectFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> MutableObjectFloatMap<K>
of()
Same asMutableObjectFloatMapFactory.empty()
.<K> MutableObjectFloatMap<K>
ofAll(ObjectFloatMap<? extends K> map)
<K> MutableObjectFloatMap<K>
ofInitialCapacity(int capacity)
Same asMutableObjectFloatMapFactory.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 asMutableObjectFloatMapFactory.empty()
.<K> MutableObjectFloatMap<K>
withAll(ObjectFloatMap<? extends K> map)
<K> MutableObjectFloatMap<K>
withInitialCapacity(int capacity)
Same asMutableObjectFloatMapFactory.empty()
.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
empty
- Specified by:
empty
in interfaceMutableObjectFloatMapFactory
-
of
Description copied from interface:MutableObjectFloatMapFactory
Same asMutableObjectFloatMapFactory.empty()
.- Specified by:
of
in interfaceMutableObjectFloatMapFactory
-
with
Description copied from interface:MutableObjectFloatMapFactory
Same asMutableObjectFloatMapFactory.empty()
.- Specified by:
with
in interfaceMutableObjectFloatMapFactory
-
ofInitialCapacity
Description copied from interface:MutableObjectFloatMapFactory
Same asMutableObjectFloatMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableObjectFloatMapFactory
-
withInitialCapacity
Description copied from interface:MutableObjectFloatMapFactory
Same asMutableObjectFloatMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableObjectFloatMapFactory
-
ofAll
Description copied from interface:MutableObjectFloatMapFactory
- Specified by:
ofAll
in interfaceMutableObjectFloatMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableObjectFloatMapFactory
-
from
public <T, K> MutableObjectFloatMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, FloatFunction<? super T> valueFunction)Description copied from interface:MutableObjectFloatMapFactory
Creates anMutableObjectFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableObjectFloatMapFactory
-