Enum ImmutableFloatObjectMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableFloatObjectMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableFloatObjectMapFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableFloatObjectMapFactoryImpl>
,java.lang.constant.Constable
,ImmutableFloatObjectMapFactory
public enum ImmutableFloatObjectMapFactoryImpl extends Enum<ImmutableFloatObjectMapFactoryImpl> implements ImmutableFloatObjectMapFactory
ImmutableFloatObjectMapFactoryImpl is a factory implementation which creates instances of type
ImmutableFloatObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description <V> ImmutableFloatObjectMap<V>
empty()
<T, V> ImmutableFloatObjectMap<V>
from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableFloatObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> ImmutableFloatObjectMap<V>
of()
<V> ImmutableFloatObjectMap<V>
of(float key, V value)
<V> ImmutableFloatObjectMap<V>
ofAll(FloatObjectMap<? extends V> map)
static ImmutableFloatObjectMapFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableFloatObjectMapFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.<V> ImmutableFloatObjectMap<V>
with()
<V> ImmutableFloatObjectMap<V>
with(float key, V value)
<V> ImmutableFloatObjectMap<V>
withAll(FloatObjectMap<? extends V> 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 interfaceImmutableFloatObjectMapFactory
-
of
Description copied from interface:ImmutableFloatObjectMapFactory
- Specified by:
of
in interfaceImmutableFloatObjectMapFactory
-
with
Description copied from interface:ImmutableFloatObjectMapFactory
- Specified by:
with
in interfaceImmutableFloatObjectMapFactory
-
of
Description copied from interface:ImmutableFloatObjectMapFactory
- Specified by:
of
in interfaceImmutableFloatObjectMapFactory
-
with
- Specified by:
with
in interfaceImmutableFloatObjectMapFactory
-
ofAll
Description copied from interface:ImmutableFloatObjectMapFactory
- Specified by:
ofAll
in interfaceImmutableFloatObjectMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableFloatObjectMapFactory
-
from
public <T, V> ImmutableFloatObjectMap<V> from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Description copied from interface:ImmutableFloatObjectMapFactory
Creates anImmutableFloatObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableFloatObjectMapFactory
-