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 typeImmutableDoubleObjectMap. This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableDoubleObjectMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleObjectMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> ImmutableDoubleObjectMap<V>empty()<T,V>
ImmutableDoubleObjectMap<V>from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)<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 Detail
-
INSTANCE
public static final ImmutableDoubleObjectMapFactory INSTANCE
-
-
Method Detail
-
empty
public <V> ImmutableDoubleObjectMap<V> empty()
- Specified by:
emptyin interfaceImmutableDoubleObjectMapFactory
-
of
public <V> ImmutableDoubleObjectMap<V> of()
- Specified by:
ofin interfaceImmutableDoubleObjectMapFactory
-
with
public <V> ImmutableDoubleObjectMap<V> with()
- Specified by:
within interfaceImmutableDoubleObjectMapFactory
-
of
public <V> ImmutableDoubleObjectMap<V> of(double key, V value)
- Specified by:
ofin interfaceImmutableDoubleObjectMapFactory
-
with
public <V> ImmutableDoubleObjectMap<V> with(double key, V value)
- Specified by:
within interfaceImmutableDoubleObjectMapFactory
-
ofAll
public <V> ImmutableDoubleObjectMap<V> ofAll(DoubleObjectMap<? extends V> map)
- Specified by:
ofAllin interfaceImmutableDoubleObjectMapFactory
-
withAll
public <V> ImmutableDoubleObjectMap<V> withAll(DoubleObjectMap<? extends V> map)
- Specified by:
withAllin interfaceImmutableDoubleObjectMapFactory
-
from
public <T,V> ImmutableDoubleObjectMap<V> from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
- Specified by:
fromin interfaceImmutableDoubleObjectMapFactory
-
-