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