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