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