Class ImmutableIntDoubleMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntDoubleMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntDoubleMapFactory
public class ImmutableIntDoubleMapFactoryImpl extends Object implements ImmutableIntDoubleMapFactory
ImmutableIntDoubleMapFactoryImpl is a factory implementation which creates instances of typeImmutableIntDoubleMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntDoubleMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntDoubleMapempty()<T> ImmutableIntDoubleMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)ImmutableIntDoubleMapof()ImmutableIntDoubleMapof(int key, double value)ImmutableIntDoubleMapofAll(IntDoubleMap map)ImmutableIntDoubleMapwith()ImmutableIntDoubleMapwith(int key, double value)ImmutableIntDoubleMapwithAll(IntDoubleMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntDoubleMap empty()
- Specified by:
emptyin interfaceImmutableIntDoubleMapFactory
-
of
public ImmutableIntDoubleMap of()
- Specified by:
ofin interfaceImmutableIntDoubleMapFactory
-
with
public ImmutableIntDoubleMap with()
- Specified by:
within interfaceImmutableIntDoubleMapFactory
-
of
public ImmutableIntDoubleMap of(int key, double value)
- Specified by:
ofin interfaceImmutableIntDoubleMapFactory
-
with
public ImmutableIntDoubleMap with(int key, double value)
- Specified by:
within interfaceImmutableIntDoubleMapFactory
-
ofAll
public ImmutableIntDoubleMap ofAll(IntDoubleMap map)
- Specified by:
ofAllin interfaceImmutableIntDoubleMapFactory
-
withAll
public ImmutableIntDoubleMap withAll(IntDoubleMap map)
- Specified by:
withAllin interfaceImmutableIntDoubleMapFactory
-
from
public <T> ImmutableIntDoubleMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
- Specified by:
fromin interfaceImmutableIntDoubleMapFactory
-
-