Enum ImmutableObjectFloatMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableObjectFloatMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableObjectFloatMapFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableObjectFloatMapFactoryImpl>
,java.lang.constant.Constable
,ImmutableObjectFloatMapFactory
public enum ImmutableObjectFloatMapFactoryImpl
extends Enum<ImmutableObjectFloatMapFactoryImpl>
implements ImmutableObjectFloatMapFactory
ImmutableObjectFloatMapFactoryImpl is a factory implementation which creates instances of type
ImmutableObjectFloatMap
.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescription<K> ImmutableObjectFloatMap<K>
empty()
<T,
K> ImmutableObjectFloatMap<K> from
(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, FloatFunction<? super T> valueFunction) Creates anImmutableObjectFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> ImmutableObjectFloatMap<K>
of()
<K> ImmutableObjectFloatMap<K>
of
(K key, float value) <K> ImmutableObjectFloatMap<K>
ofAll
(ObjectFloatMap<? extends K> map) Returns the enum constant of this type with the specified name.static ImmutableObjectFloatMapFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.<K> ImmutableObjectFloatMap<K>
with()
<K> ImmutableObjectFloatMap<K>
with
(K key, float value) <K> ImmutableObjectFloatMap<K>
withAll
(ObjectFloatMap<? extends K> map) Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INSTANCE
-
-
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 interfaceImmutableObjectFloatMapFactory
-
of
Description copied from interface:ImmutableObjectFloatMapFactory
- Specified by:
of
in interfaceImmutableObjectFloatMapFactory
-
with
Description copied from interface:ImmutableObjectFloatMapFactory
- Specified by:
with
in interfaceImmutableObjectFloatMapFactory
-
of
Description copied from interface:ImmutableObjectFloatMapFactory
- Specified by:
of
in interfaceImmutableObjectFloatMapFactory
-
with
- Specified by:
with
in interfaceImmutableObjectFloatMapFactory
-
ofAll
Description copied from interface:ImmutableObjectFloatMapFactory
- Specified by:
ofAll
in interfaceImmutableObjectFloatMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableObjectFloatMapFactory
-
from
public <T,K> ImmutableObjectFloatMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, FloatFunction<? super T> valueFunction) Description copied from interface:ImmutableObjectFloatMapFactory
Creates anImmutableObjectFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableObjectFloatMapFactory
-