Enum ImmutableIntFloatMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableIntFloatMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntFloatMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableIntFloatMapFactoryImpl>,java.lang.constant.Constable,ImmutableIntFloatMapFactory
public enum ImmutableIntFloatMapFactoryImpl extends Enum<ImmutableIntFloatMapFactoryImpl> implements ImmutableIntFloatMapFactory
ImmutableIntFloatMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntFloatMap.
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 ImmutableIntFloatMapempty()<T> ImmutableIntFloatMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)Creates anImmutableIntFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntFloatMapof()Same asImmutableIntFloatMapFactory.empty().ImmutableIntFloatMapof(int key, float value)ImmutableIntFloatMapofAll(IntFloatMap map)static ImmutableIntFloatMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableIntFloatMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableIntFloatMapwith()Same asImmutableIntFloatMapFactory.empty().ImmutableIntFloatMapwith(int key, float value)ImmutableIntFloatMapwithAll(IntFloatMap 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 interfaceImmutableIntFloatMapFactory
-
of
Description copied from interface:ImmutableIntFloatMapFactorySame asImmutableIntFloatMapFactory.empty().- Specified by:
ofin interfaceImmutableIntFloatMapFactory
-
with
Description copied from interface:ImmutableIntFloatMapFactorySame asImmutableIntFloatMapFactory.empty().- Specified by:
within interfaceImmutableIntFloatMapFactory
-
of
Description copied from interface:ImmutableIntFloatMapFactory- Specified by:
ofin interfaceImmutableIntFloatMapFactory
-
with
- Specified by:
within interfaceImmutableIntFloatMapFactory
-
ofAll
Description copied from interface:ImmutableIntFloatMapFactory- Specified by:
ofAllin interfaceImmutableIntFloatMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntFloatMapFactory
-
from
public <T> ImmutableIntFloatMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)Description copied from interface:ImmutableIntFloatMapFactoryCreates anImmutableIntFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableIntFloatMapFactory
-