Interface ImmutableShortIntMapFactory
public interface ImmutableShortIntMapFactory
A factory which creates instances of type
ImmutableShortIntMap.
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, IntFunction<? super T> valueFunction) Creates anImmutableShortIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().of(short key, int value) Same aswith(short, int).ofAll(ShortIntMap map) Same aswithAll(ShortIntMap).with()Same asempty().with(short key, int value) withAll(ShortIntMap map)
-
Method Details
-
empty
ImmutableShortIntMap empty()- Since:
- 6.0
-
of
ImmutableShortIntMap of()Same asempty(). -
with
ImmutableShortIntMap with()Same asempty(). -
of
Same aswith(short, int). -
with
-
ofAll
Same aswithAll(ShortIntMap). -
withAll
-
from
<T> ImmutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableShortIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-