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