Enum MutableFloatObjectMapFactoryImpl
java.lang.Object
java.lang.Enum<MutableFloatObjectMapFactoryImpl>
org.eclipse.collections.impl.map.mutable.primitive.MutableFloatObjectMapFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableFloatObjectMapFactoryImpl>
,java.lang.constant.Constable
,MutableFloatObjectMapFactory
public enum MutableFloatObjectMapFactoryImpl extends Enum<MutableFloatObjectMapFactoryImpl> implements MutableFloatObjectMapFactory
MutableFloatObjectMapFactoryImpl is a factory implementation which creates instances of type
MutableFloatObjectMap
.
This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description <V> MutableFloatObjectMap<V>
empty()
<T, V> MutableFloatObjectMap<V>
from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableFloatObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> MutableFloatObjectMap<V>
of()
Same asMutableFloatObjectMapFactory.empty()
.<V> MutableFloatObjectMap<V>
ofAll(FloatObjectMap<? extends V> map)
<V> MutableFloatObjectMap<V>
ofInitialCapacity(int capacity)
Same asMutableFloatObjectMapFactory.empty()
.static MutableFloatObjectMapFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static MutableFloatObjectMapFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.<V> MutableFloatObjectMap<V>
with()
Same asMutableFloatObjectMapFactory.empty()
.<V> MutableFloatObjectMap<V>
withAll(FloatObjectMap<? extends V> map)
<V> MutableFloatObjectMap<V>
withInitialCapacity(int capacity)
Same asMutableFloatObjectMapFactory.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 interfaceMutableFloatObjectMapFactory
-
of
Description copied from interface:MutableFloatObjectMapFactory
Same asMutableFloatObjectMapFactory.empty()
.- Specified by:
of
in interfaceMutableFloatObjectMapFactory
-
with
Description copied from interface:MutableFloatObjectMapFactory
Same asMutableFloatObjectMapFactory.empty()
.- Specified by:
with
in interfaceMutableFloatObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableFloatObjectMapFactory
Same asMutableFloatObjectMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableFloatObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableFloatObjectMapFactory
Same asMutableFloatObjectMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableFloatObjectMapFactory
-
ofAll
Description copied from interface:MutableFloatObjectMapFactory
- Specified by:
ofAll
in interfaceMutableFloatObjectMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableFloatObjectMapFactory
-
from
public <T, V> MutableFloatObjectMap<V> from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Description copied from interface:MutableFloatObjectMapFactory
Creates anMutableFloatObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableFloatObjectMapFactory
-