Enum ImmutableDoubleFloatMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableDoubleFloatMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableDoubleFloatMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableDoubleFloatMapFactoryImpl>,java.lang.constant.Constable,ImmutableDoubleFloatMapFactory
public enum ImmutableDoubleFloatMapFactoryImpl extends Enum<ImmutableDoubleFloatMapFactoryImpl> implements ImmutableDoubleFloatMapFactory
ImmutableDoubleFloatMapFactoryImpl is a factory implementation which creates instances of type
ImmutableDoubleFloatMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description ImmutableDoubleFloatMapempty()<T> ImmutableDoubleFloatMapfrom(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)Creates anImmutableDoubleFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableDoubleFloatMapof()ImmutableDoubleFloatMapof(double key, float value)ImmutableDoubleFloatMapofAll(DoubleFloatMap map)static ImmutableDoubleFloatMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableDoubleFloatMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableDoubleFloatMapwith()ImmutableDoubleFloatMapwith(double key, float value)ImmutableDoubleFloatMapwithAll(DoubleFloatMap map)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 interfaceImmutableDoubleFloatMapFactory
-
of
Description copied from interface:ImmutableDoubleFloatMapFactory- Specified by:
ofin interfaceImmutableDoubleFloatMapFactory
-
with
Description copied from interface:ImmutableDoubleFloatMapFactory- Specified by:
within interfaceImmutableDoubleFloatMapFactory
-
of
Description copied from interface:ImmutableDoubleFloatMapFactory- Specified by:
ofin interfaceImmutableDoubleFloatMapFactory
-
with
- Specified by:
within interfaceImmutableDoubleFloatMapFactory
-
ofAll
Description copied from interface:ImmutableDoubleFloatMapFactory- Specified by:
ofAllin interfaceImmutableDoubleFloatMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableDoubleFloatMapFactory
-
from
public <T> ImmutableDoubleFloatMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)Description copied from interface:ImmutableDoubleFloatMapFactoryCreates anImmutableDoubleFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableDoubleFloatMapFactory
-