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 Type Method Description ImmutableShortDoubleMapempty()<T> ImmutableShortDoubleMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)Creates anImmutableShortDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortDoubleMapof()Same asempty().ImmutableShortDoubleMapof(short key, double value)Same aswith(short, double).ImmutableShortDoubleMapofAll(ShortDoubleMap map)Same aswithAll(ShortDoubleMap).ImmutableShortDoubleMapwith()Same asempty().ImmutableShortDoubleMapwith(short key, double value)ImmutableShortDoubleMapwithAll(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 anImmutableShortDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-