Class ImmutableDoubleIntMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableDoubleIntMapFactoryImpl
- All Implemented Interfaces:
ImmutableDoubleIntMapFactory
public class ImmutableDoubleIntMapFactoryImpl
extends Object
implements ImmutableDoubleIntMapFactory
ImmutableDoubleIntMapFactoryImpl is a factory implementation which creates instances of type
ImmutableDoubleIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableDoubleIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableDoubleIntMapFactory.empty().of(double key, int value) ofAll(DoubleIntMap map) with()Same asImmutableDoubleIntMapFactory.empty().with(double key, int value) withAll(DoubleIntMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableDoubleIntMapFactoryImpl
public ImmutableDoubleIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableDoubleIntMapFactory
-
of
Description copied from interface:ImmutableDoubleIntMapFactorySame asImmutableDoubleIntMapFactory.empty().- Specified by:
ofin interfaceImmutableDoubleIntMapFactory
-
with
Description copied from interface:ImmutableDoubleIntMapFactorySame asImmutableDoubleIntMapFactory.empty().- Specified by:
within interfaceImmutableDoubleIntMapFactory
-
of
Description copied from interface:ImmutableDoubleIntMapFactory- Specified by:
ofin interfaceImmutableDoubleIntMapFactory
-
with
- Specified by:
within interfaceImmutableDoubleIntMapFactory
-
ofAll
Description copied from interface:ImmutableDoubleIntMapFactory- Specified by:
ofAllin interfaceImmutableDoubleIntMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableDoubleIntMapFactory
-
from
public <T> ImmutableDoubleIntMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:ImmutableDoubleIntMapFactoryCreates anImmutableDoubleIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableDoubleIntMapFactory
-