Class ImmutableObjectDoubleMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableObjectDoubleMapFactoryImpl
- All Implemented Interfaces:
ImmutableObjectDoubleMapFactory
public class ImmutableObjectDoubleMapFactoryImpl
extends Object
implements ImmutableObjectDoubleMapFactory
ImmutableObjectDoubleMapFactoryImpl is a factory implementation which creates instances of type
ImmutableObjectDoubleMap
.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<K> ImmutableObjectDoubleMap<K>
empty()
<T,
K> ImmutableObjectDoubleMap<K> from
(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, DoubleFunction<? super T> valueFunction) Creates anImmutableObjectDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> ImmutableObjectDoubleMap<K>
of()
<K> ImmutableObjectDoubleMap<K>
of
(K key, double value) <K> ImmutableObjectDoubleMap<K>
ofAll
(ObjectDoubleMap<? extends K> map) <K> ImmutableObjectDoubleMap<K>
with()
<K> ImmutableObjectDoubleMap<K>
with
(K key, double value) <K> ImmutableObjectDoubleMap<K>
withAll
(ObjectDoubleMap<? extends K> map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableObjectDoubleMapFactoryImpl
public ImmutableObjectDoubleMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableObjectDoubleMapFactory
-
of
Description copied from interface:ImmutableObjectDoubleMapFactory
- Specified by:
of
in interfaceImmutableObjectDoubleMapFactory
-
with
Description copied from interface:ImmutableObjectDoubleMapFactory
- Specified by:
with
in interfaceImmutableObjectDoubleMapFactory
-
of
Description copied from interface:ImmutableObjectDoubleMapFactory
- Specified by:
of
in interfaceImmutableObjectDoubleMapFactory
-
with
- Specified by:
with
in interfaceImmutableObjectDoubleMapFactory
-
ofAll
Description copied from interface:ImmutableObjectDoubleMapFactory
- Specified by:
ofAll
in interfaceImmutableObjectDoubleMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableObjectDoubleMapFactory
-
from
public <T,K> ImmutableObjectDoubleMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, DoubleFunction<? super T> valueFunction) Description copied from interface:ImmutableObjectDoubleMapFactory
Creates anImmutableObjectDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableObjectDoubleMapFactory
-