Interface ImmutableShortDoubleMapFactory
- All Known Implementing Classes:
ImmutableShortDoubleMapFactoryImpl
public interface ImmutableShortDoubleMapFactory
A factory which creates instances of type
ImmutableShortDoubleMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
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()
Same asempty()
.of
(short key, double value) Same aswith(short, double)
.ofAll
(ShortDoubleMap map) Same aswithAll(ShortDoubleMap)
.with()
Same asempty()
.with
(short key, double value) withAll
(ShortDoubleMap map)
-
Method Details
-
empty
ImmutableShortDoubleMap empty()- Since:
- 6.0
-
of
Same asempty()
. -
with
ImmutableShortDoubleMap with()Same asempty()
. -
of
Same aswith(short, double)
. -
with
-
ofAll
Same aswithAll(ShortDoubleMap)
. -
withAll
-
from
<T> ImmutableShortDoubleMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anImmutableShortDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-