Interface ImmutableIntShortMapFactory
public interface ImmutableIntShortMapFactory
A factory which creates instances of type
ImmutableIntShortMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anImmutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().of(int key, short value) Same aswith(int, short).ofAll(IntShortMap map) Same aswithAll(IntShortMap).with()Same asempty().with(int key, short value) withAll(IntShortMap map)
-
Method Details
-
empty
ImmutableIntShortMap empty()- Since:
- 6.0
-
of
ImmutableIntShortMap of()Same asempty(). -
with
ImmutableIntShortMap with()Same asempty(). -
of
Same aswith(int, short). -
with
-
ofAll
Same aswithAll(IntShortMap). -
withAll
-
from
<T> ImmutableIntShortMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anImmutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-