Class ImmutableIntDoubleMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntDoubleMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntDoubleMapFactory
public class ImmutableIntDoubleMapFactoryImpl
extends Object
implements ImmutableIntDoubleMapFactory
ImmutableIntDoubleMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntDoubleMap.
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, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anImmutableIntDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableIntDoubleMapFactory.empty().of(int key, double value) ofAll(IntDoubleMap map) with()Same asImmutableIntDoubleMapFactory.empty().with(int key, double value) withAll(IntDoubleMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntDoubleMapFactoryImpl
public ImmutableIntDoubleMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableIntDoubleMapFactory
-
of
Description copied from interface:ImmutableIntDoubleMapFactorySame asImmutableIntDoubleMapFactory.empty().- Specified by:
ofin interfaceImmutableIntDoubleMapFactory
-
with
Description copied from interface:ImmutableIntDoubleMapFactorySame asImmutableIntDoubleMapFactory.empty().- Specified by:
within interfaceImmutableIntDoubleMapFactory
-
of
Description copied from interface:ImmutableIntDoubleMapFactory- Specified by:
ofin interfaceImmutableIntDoubleMapFactory
-
with
- Specified by:
within interfaceImmutableIntDoubleMapFactory
-
ofAll
Description copied from interface:ImmutableIntDoubleMapFactory- Specified by:
ofAllin interfaceImmutableIntDoubleMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntDoubleMapFactory
-
from
public <T> ImmutableIntDoubleMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Description copied from interface:ImmutableIntDoubleMapFactoryCreates anImmutableIntDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableIntDoubleMapFactory
-