Class ImmutableLongDoubleMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableLongDoubleMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongDoubleMapFactory
public class ImmutableLongDoubleMapFactoryImpl extends java.lang.Object implements ImmutableLongDoubleMapFactory
ImmutableLongDoubleMapFactoryImpl is a factory implementation which creates instances of typeImmutableLongDoubleMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongDoubleMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongDoubleMap
empty()
<T> ImmutableLongDoubleMap
from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Creates anImmutableLongDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableLongDoubleMap
of()
ImmutableLongDoubleMap
of(long key, double value)
ImmutableLongDoubleMap
ofAll(LongDoubleMap map)
ImmutableLongDoubleMap
with()
ImmutableLongDoubleMap
with(long key, double value)
ImmutableLongDoubleMap
withAll(LongDoubleMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongDoubleMap empty()
- Specified by:
empty
in interfaceImmutableLongDoubleMapFactory
-
of
public ImmutableLongDoubleMap of()
Description copied from interface:ImmutableLongDoubleMapFactory
- Specified by:
of
in interfaceImmutableLongDoubleMapFactory
-
with
public ImmutableLongDoubleMap with()
Description copied from interface:ImmutableLongDoubleMapFactory
- Specified by:
with
in interfaceImmutableLongDoubleMapFactory
-
of
public ImmutableLongDoubleMap of(long key, double value)
Description copied from interface:ImmutableLongDoubleMapFactory
- Specified by:
of
in interfaceImmutableLongDoubleMapFactory
-
with
public ImmutableLongDoubleMap with(long key, double value)
- Specified by:
with
in interfaceImmutableLongDoubleMapFactory
-
ofAll
public ImmutableLongDoubleMap ofAll(LongDoubleMap map)
Description copied from interface:ImmutableLongDoubleMapFactory
- Specified by:
ofAll
in interfaceImmutableLongDoubleMapFactory
-
withAll
public ImmutableLongDoubleMap withAll(LongDoubleMap map)
- Specified by:
withAll
in interfaceImmutableLongDoubleMapFactory
-
from
public <T> ImmutableLongDoubleMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Description copied from interface:ImmutableLongDoubleMapFactory
Creates anImmutableLongDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableLongDoubleMapFactory
-
-