Enum ImmutableFloatLongMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableFloatLongMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableFloatLongMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableFloatLongMapFactoryImpl>,java.lang.constant.Constable,ImmutableFloatLongMapFactory
public enum ImmutableFloatLongMapFactoryImpl extends Enum<ImmutableFloatLongMapFactoryImpl> implements ImmutableFloatLongMapFactory
ImmutableFloatLongMapFactoryImpl is a factory implementation which creates instances of type
ImmutableFloatLongMap.
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 ImmutableFloatLongMapempty()<T> ImmutableFloatLongMapfrom(Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableFloatLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableFloatLongMapof()Same asImmutableFloatLongMapFactory.empty().ImmutableFloatLongMapof(float key, long value)ImmutableFloatLongMapofAll(FloatLongMap map)static ImmutableFloatLongMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableFloatLongMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableFloatLongMapwith()Same asImmutableFloatLongMapFactory.empty().ImmutableFloatLongMapwith(float key, long value)ImmutableFloatLongMapwithAll(FloatLongMap 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 interfaceImmutableFloatLongMapFactory
-
of
Description copied from interface:ImmutableFloatLongMapFactorySame asImmutableFloatLongMapFactory.empty().- Specified by:
ofin interfaceImmutableFloatLongMapFactory
-
with
Description copied from interface:ImmutableFloatLongMapFactorySame asImmutableFloatLongMapFactory.empty().- Specified by:
within interfaceImmutableFloatLongMapFactory
-
of
Description copied from interface:ImmutableFloatLongMapFactory- Specified by:
ofin interfaceImmutableFloatLongMapFactory
-
with
- Specified by:
within interfaceImmutableFloatLongMapFactory
-
ofAll
Description copied from interface:ImmutableFloatLongMapFactory- Specified by:
ofAllin interfaceImmutableFloatLongMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableFloatLongMapFactory
-
from
public <T> ImmutableFloatLongMap from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Description copied from interface:ImmutableFloatLongMapFactoryCreates anImmutableFloatLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableFloatLongMapFactory
-