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