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 ImmutableIntFloatMap
empty()
<T> ImmutableIntFloatMap
from(Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)
Creates anImmutableIntFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableIntFloatMap
of()
Same asImmutableIntFloatMapFactory.empty()
.ImmutableIntFloatMap
of(int key, float value)
ImmutableIntFloatMap
ofAll(IntFloatMap map)
static ImmutableIntFloatMapFactoryImpl
valueOf(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.ImmutableIntFloatMap
with()
Same asImmutableIntFloatMapFactory.empty()
.ImmutableIntFloatMap
with(int key, float value)
ImmutableIntFloatMap
withAll(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:
empty
in interfaceImmutableIntFloatMapFactory
-
of
Description copied from interface:ImmutableIntFloatMapFactory
Same asImmutableIntFloatMapFactory.empty()
.- Specified by:
of
in interfaceImmutableIntFloatMapFactory
-
with
Description copied from interface:ImmutableIntFloatMapFactory
Same asImmutableIntFloatMapFactory.empty()
.- Specified by:
with
in interfaceImmutableIntFloatMapFactory
-
of
Description copied from interface:ImmutableIntFloatMapFactory
- Specified by:
of
in interfaceImmutableIntFloatMapFactory
-
with
- Specified by:
with
in interfaceImmutableIntFloatMapFactory
-
ofAll
Description copied from interface:ImmutableIntFloatMapFactory
- Specified by:
ofAll
in interfaceImmutableIntFloatMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableIntFloatMapFactory
-
from
public <T> ImmutableIntFloatMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)Description copied from interface:ImmutableIntFloatMapFactory
Creates anImmutableIntFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableIntFloatMapFactory
-