Class ImmutableDoubleDoubleMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableDoubleDoubleMapFactoryImpl
- All Implemented Interfaces:
ImmutableDoubleDoubleMapFactory
public class ImmutableDoubleDoubleMapFactoryImpl
extends Object
implements ImmutableDoubleDoubleMapFactory
ImmutableDoubleDoubleMapFactoryImpl is a factory implementation which creates instances of type
ImmutableDoubleDoubleMap
.
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, DoubleFunction<? super T> valueFunction) Creates anImmutableDoubleDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
of
(double key, double value) ofAll
(DoubleDoubleMap map) with()
with
(double key, double value) withAll
(DoubleDoubleMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableDoubleDoubleMapFactoryImpl
public ImmutableDoubleDoubleMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableDoubleDoubleMapFactory
-
of
Description copied from interface:ImmutableDoubleDoubleMapFactory
- Specified by:
of
in interfaceImmutableDoubleDoubleMapFactory
-
with
Description copied from interface:ImmutableDoubleDoubleMapFactory
- Specified by:
with
in interfaceImmutableDoubleDoubleMapFactory
-
of
Description copied from interface:ImmutableDoubleDoubleMapFactory
- Specified by:
of
in interfaceImmutableDoubleDoubleMapFactory
-
with
- Specified by:
with
in interfaceImmutableDoubleDoubleMapFactory
-
ofAll
Description copied from interface:ImmutableDoubleDoubleMapFactory
- Specified by:
ofAll
in interfaceImmutableDoubleDoubleMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableDoubleDoubleMapFactory
-
from
public <T> ImmutableDoubleDoubleMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Description copied from interface:ImmutableDoubleDoubleMapFactory
Creates anImmutableDoubleDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableDoubleDoubleMapFactory
-