Enum ImmutableDoubleObjectMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableDoubleObjectMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableDoubleObjectMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableDoubleObjectMapFactoryImpl>,java.lang.constant.Constable,ImmutableDoubleObjectMapFactory
public enum ImmutableDoubleObjectMapFactoryImpl extends Enum<ImmutableDoubleObjectMapFactoryImpl> implements ImmutableDoubleObjectMapFactory
ImmutableDoubleObjectMapFactoryImpl is a factory implementation which creates instances of type
ImmutableDoubleObjectMap.
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> ImmutableDoubleObjectMap<V>empty()<T, V> ImmutableDoubleObjectMap<V>from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anImmutableDoubleObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> ImmutableDoubleObjectMap<V>of()<V> ImmutableDoubleObjectMap<V>of(double key, V value)<V> ImmutableDoubleObjectMap<V>ofAll(DoubleObjectMap<? extends V> map)static ImmutableDoubleObjectMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableDoubleObjectMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.<V> ImmutableDoubleObjectMap<V>with()<V> ImmutableDoubleObjectMap<V>with(double key, V value)<V> ImmutableDoubleObjectMap<V>withAll(DoubleObjectMap<? 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:
emptyin interfaceImmutableDoubleObjectMapFactory
-
of
Description copied from interface:ImmutableDoubleObjectMapFactory- Specified by:
ofin interfaceImmutableDoubleObjectMapFactory
-
with
Description copied from interface:ImmutableDoubleObjectMapFactory- Specified by:
within interfaceImmutableDoubleObjectMapFactory
-
of
Description copied from interface:ImmutableDoubleObjectMapFactory- Specified by:
ofin interfaceImmutableDoubleObjectMapFactory
-
with
- Specified by:
within interfaceImmutableDoubleObjectMapFactory
-
ofAll
Description copied from interface:ImmutableDoubleObjectMapFactory- Specified by:
ofAllin interfaceImmutableDoubleObjectMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableDoubleObjectMapFactory
-
from
public <T, V> ImmutableDoubleObjectMap<V> from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Description copied from interface:ImmutableDoubleObjectMapFactoryCreates anImmutableDoubleObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableDoubleObjectMapFactory
-