Class ImmutableObjectDoubleMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableObjectDoubleMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableObjectDoubleMapFactory
public class ImmutableObjectDoubleMapFactoryImpl extends java.lang.Object implements ImmutableObjectDoubleMapFactory
ImmutableObjectDoubleMapFactoryImpl is a factory implementation which creates instances of typeImmutableObjectDoubleMap
. This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableObjectDoubleMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableObjectDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K> ImmutableObjectDoubleMap<K>
empty()
<T,K>
ImmutableObjectDoubleMap<K>from(java.lang.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 Detail
-
INSTANCE
public static final ImmutableObjectDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public <K> ImmutableObjectDoubleMap<K> empty()
- Specified by:
empty
in interfaceImmutableObjectDoubleMapFactory
-
of
public <K> ImmutableObjectDoubleMap<K> of()
Description copied from interface:ImmutableObjectDoubleMapFactory
- Specified by:
of
in interfaceImmutableObjectDoubleMapFactory
-
with
public <K> ImmutableObjectDoubleMap<K> with()
Description copied from interface:ImmutableObjectDoubleMapFactory
- Specified by:
with
in interfaceImmutableObjectDoubleMapFactory
-
of
public <K> ImmutableObjectDoubleMap<K> of(K key, double value)
Description copied from interface:ImmutableObjectDoubleMapFactory
- Specified by:
of
in interfaceImmutableObjectDoubleMapFactory
-
with
public <K> ImmutableObjectDoubleMap<K> with(K key, double value)
- Specified by:
with
in interfaceImmutableObjectDoubleMapFactory
-
ofAll
public <K> ImmutableObjectDoubleMap<K> ofAll(ObjectDoubleMap<? extends K> map)
Description copied from interface:ImmutableObjectDoubleMapFactory
- Specified by:
ofAll
in interfaceImmutableObjectDoubleMapFactory
-
withAll
public <K> ImmutableObjectDoubleMap<K> withAll(ObjectDoubleMap<? extends K> map)
- Specified by:
withAll
in interfaceImmutableObjectDoubleMapFactory
-
from
public <T,K> ImmutableObjectDoubleMap<K> from(java.lang.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
-
-