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 type
ImmutableShortDoubleMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anImmutableShortDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
of
(short key, double value) ofAll
(ShortDoubleMap map) with()
with
(short key, double value) withAll
(ShortDoubleMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableShortDoubleMapFactoryImpl
public ImmutableShortDoubleMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableShortDoubleMapFactory
-
of
Description copied from interface:ImmutableShortDoubleMapFactory
- Specified by:
of
in interfaceImmutableShortDoubleMapFactory
-
with
Description copied from interface:ImmutableShortDoubleMapFactory
- Specified by:
with
in interfaceImmutableShortDoubleMapFactory
-
of
Description copied from interface:ImmutableShortDoubleMapFactory
- Specified by:
of
in interfaceImmutableShortDoubleMapFactory
-
with
- Specified by:
with
in interfaceImmutableShortDoubleMapFactory
-
ofAll
Description copied from interface:ImmutableShortDoubleMapFactory
- Specified by:
ofAll
in interfaceImmutableShortDoubleMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableShortDoubleMapFactory
-
from
public <T> ImmutableShortDoubleMap from(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
-