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 anMutableFloatObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<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 MutableFloatObjectMapFactoryImplvalueOf(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:
emptyin interfaceMutableFloatObjectMapFactory
-
of
Description copied from interface:MutableFloatObjectMapFactorySame asMutableFloatObjectMapFactory.empty().- Specified by:
ofin interfaceMutableFloatObjectMapFactory
-
with
Description copied from interface:MutableFloatObjectMapFactorySame asMutableFloatObjectMapFactory.empty().- Specified by:
within interfaceMutableFloatObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableFloatObjectMapFactorySame asMutableFloatObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableFloatObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableFloatObjectMapFactorySame asMutableFloatObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableFloatObjectMapFactory
-
ofAll
Description copied from interface:MutableFloatObjectMapFactory- Specified by:
ofAllin interfaceMutableFloatObjectMapFactory
-
withAll
- Specified by:
withAllin 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:MutableFloatObjectMapFactoryCreates anMutableFloatObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableFloatObjectMapFactory
-