Class ImmutableShortDoubleMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortDoubleMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortDoubleMapFactory
public class ImmutableShortDoubleMapFactoryImpl extends 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 ImmutableShortDoubleMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortDoubleMapempty()<T> ImmutableShortDoubleMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)ImmutableShortDoubleMapof()ImmutableShortDoubleMapof(short key, double value)ImmutableShortDoubleMapofAll(ShortDoubleMap map)ImmutableShortDoubleMapwith()ImmutableShortDoubleMapwith(short key, double value)ImmutableShortDoubleMapwithAll(ShortDoubleMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortDoubleMap empty()
- Specified by:
emptyin interfaceImmutableShortDoubleMapFactory
-
of
public ImmutableShortDoubleMap of()
- Specified by:
ofin interfaceImmutableShortDoubleMapFactory
-
with
public ImmutableShortDoubleMap with()
- Specified by:
within interfaceImmutableShortDoubleMapFactory
-
of
public ImmutableShortDoubleMap of(short key, double value)
- Specified by:
ofin interfaceImmutableShortDoubleMapFactory
-
with
public ImmutableShortDoubleMap with(short key, double value)
- Specified by:
within interfaceImmutableShortDoubleMapFactory
-
ofAll
public ImmutableShortDoubleMap ofAll(ShortDoubleMap map)
- Specified by:
ofAllin interfaceImmutableShortDoubleMapFactory
-
withAll
public ImmutableShortDoubleMap withAll(ShortDoubleMap map)
- Specified by:
withAllin interfaceImmutableShortDoubleMapFactory
-
from
public <T> ImmutableShortDoubleMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
- Specified by:
fromin interfaceImmutableShortDoubleMapFactory
-
-