Class ImmutableIntDoubleMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntDoubleMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntDoubleMapFactory
public class ImmutableIntDoubleMapFactoryImpl extends java.lang.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 ImmutableIntDoubleMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntDoubleMap
empty()
<T> ImmutableIntDoubleMap
from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Creates anImmutableIntDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableIntDoubleMap
of()
Same asImmutableIntDoubleMapFactory.empty()
.ImmutableIntDoubleMap
of(int key, double value)
ImmutableIntDoubleMap
ofAll(IntDoubleMap map)
ImmutableIntDoubleMap
with()
Same asImmutableIntDoubleMapFactory.empty()
.ImmutableIntDoubleMap
with(int key, double value)
ImmutableIntDoubleMap
withAll(IntDoubleMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntDoubleMap empty()
- Specified by:
empty
in interfaceImmutableIntDoubleMapFactory
-
of
public ImmutableIntDoubleMap of()
Description copied from interface:ImmutableIntDoubleMapFactory
Same asImmutableIntDoubleMapFactory.empty()
.- Specified by:
of
in interfaceImmutableIntDoubleMapFactory
-
with
public ImmutableIntDoubleMap with()
Description copied from interface:ImmutableIntDoubleMapFactory
Same asImmutableIntDoubleMapFactory.empty()
.- Specified by:
with
in interfaceImmutableIntDoubleMapFactory
-
of
public ImmutableIntDoubleMap of(int key, double value)
Description copied from interface:ImmutableIntDoubleMapFactory
- Specified by:
of
in interfaceImmutableIntDoubleMapFactory
-
with
public ImmutableIntDoubleMap with(int key, double value)
- Specified by:
with
in interfaceImmutableIntDoubleMapFactory
-
ofAll
public ImmutableIntDoubleMap ofAll(IntDoubleMap map)
Description copied from interface:ImmutableIntDoubleMapFactory
- Specified by:
ofAll
in interfaceImmutableIntDoubleMapFactory
-
withAll
public ImmutableIntDoubleMap withAll(IntDoubleMap map)
- Specified by:
withAll
in interfaceImmutableIntDoubleMapFactory
-
from
public <T> ImmutableIntDoubleMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Description copied from interface:ImmutableIntDoubleMapFactory
Creates anImmutableIntDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableIntDoubleMapFactory
-
-