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
Fields -
Constructor Summary
Constructors -
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 anImmutableObjectDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<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:
emptyin interfaceImmutableObjectDoubleMapFactory
-
of
Description copied from interface:ImmutableObjectDoubleMapFactory- Specified by:
ofin interfaceImmutableObjectDoubleMapFactory
-
with
Description copied from interface:ImmutableObjectDoubleMapFactory- Specified by:
within interfaceImmutableObjectDoubleMapFactory
-
of
Description copied from interface:ImmutableObjectDoubleMapFactory- Specified by:
ofin interfaceImmutableObjectDoubleMapFactory
-
with
- Specified by:
within interfaceImmutableObjectDoubleMapFactory
-
ofAll
Description copied from interface:ImmutableObjectDoubleMapFactory- Specified by:
ofAllin interfaceImmutableObjectDoubleMapFactory
-
withAll
- Specified by:
withAllin 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:ImmutableObjectDoubleMapFactoryCreates anImmutableObjectDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableObjectDoubleMapFactory
-