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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableDoubleIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.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:
empty
in interfaceImmutableDoubleIntMapFactory
-
of
Description copied from interface:ImmutableDoubleIntMapFactory
Same asImmutableDoubleIntMapFactory.empty()
.- Specified by:
of
in interfaceImmutableDoubleIntMapFactory
-
with
Description copied from interface:ImmutableDoubleIntMapFactory
Same asImmutableDoubleIntMapFactory.empty()
.- Specified by:
with
in interfaceImmutableDoubleIntMapFactory
-
of
Description copied from interface:ImmutableDoubleIntMapFactory
- Specified by:
of
in interfaceImmutableDoubleIntMapFactory
-
with
- Specified by:
with
in interfaceImmutableDoubleIntMapFactory
-
ofAll
Description copied from interface:ImmutableDoubleIntMapFactory
- Specified by:
ofAll
in interfaceImmutableDoubleIntMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableDoubleIntMapFactory
-
from
public <T> ImmutableDoubleIntMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:ImmutableDoubleIntMapFactory
Creates anImmutableDoubleIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableDoubleIntMapFactory
-