Class ImmutableDoubleIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableDoubleIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableDoubleIntMapFactory
public class ImmutableDoubleIntMapFactoryImpl extends java.lang.Object implements ImmutableDoubleIntMapFactory
ImmutableDoubleIntMapFactoryImpl is a factory implementation which creates instances of typeImmutableDoubleIntMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableDoubleIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDoubleIntMapempty()<T> ImmutableDoubleIntMapfrom(java.lang.Iterable<T> iterable, DoubleFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anImmutableDoubleIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableDoubleIntMapof()Same asImmutableDoubleIntMapFactory.empty().ImmutableDoubleIntMapof(double key, int value)ImmutableDoubleIntMapofAll(DoubleIntMap map)ImmutableDoubleIntMapwith()Same asImmutableDoubleIntMapFactory.empty().ImmutableDoubleIntMapwith(double key, int value)ImmutableDoubleIntMapwithAll(DoubleIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableDoubleIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableDoubleIntMap empty()
- Specified by:
emptyin interfaceImmutableDoubleIntMapFactory
-
of
public ImmutableDoubleIntMap of()
Description copied from interface:ImmutableDoubleIntMapFactorySame asImmutableDoubleIntMapFactory.empty().- Specified by:
ofin interfaceImmutableDoubleIntMapFactory
-
with
public ImmutableDoubleIntMap with()
Description copied from interface:ImmutableDoubleIntMapFactorySame asImmutableDoubleIntMapFactory.empty().- Specified by:
within interfaceImmutableDoubleIntMapFactory
-
of
public ImmutableDoubleIntMap of(double key, int value)
Description copied from interface:ImmutableDoubleIntMapFactory- Specified by:
ofin interfaceImmutableDoubleIntMapFactory
-
with
public ImmutableDoubleIntMap with(double key, int value)
- Specified by:
within interfaceImmutableDoubleIntMapFactory
-
ofAll
public ImmutableDoubleIntMap ofAll(DoubleIntMap map)
Description copied from interface:ImmutableDoubleIntMapFactory- Specified by:
ofAllin interfaceImmutableDoubleIntMapFactory
-
withAll
public ImmutableDoubleIntMap withAll(DoubleIntMap map)
- Specified by:
withAllin interfaceImmutableDoubleIntMapFactory
-
from
public <T> ImmutableDoubleIntMap from(java.lang.Iterable<T> iterable, DoubleFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:ImmutableDoubleIntMapFactoryCreates anImmutableDoubleIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableDoubleIntMapFactory
-
-