Interface ImmutableShortCharMapFactory
- All Known Implementing Classes:
ImmutableShortCharMapFactoryImpl
public interface ImmutableShortCharMapFactory
A factory which creates instances of type
ImmutableShortCharMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description ImmutableShortCharMapempty()<T> ImmutableShortCharMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)Creates anImmutableShortCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortCharMapof()Same asempty().ImmutableShortCharMapof(short key, char value)Same aswith(short, char).ImmutableShortCharMapofAll(ShortCharMap map)Same aswithAll(ShortCharMap).ImmutableShortCharMapwith()Same asempty().ImmutableShortCharMapwith(short key, char value)ImmutableShortCharMapwithAll(ShortCharMap map)
-
Method Details
-
empty
ImmutableShortCharMap empty()- Since:
- 6.0
-
of
Same asempty(). -
with
ImmutableShortCharMap with()Same asempty(). -
of
Same aswith(short, char). -
with
-
ofAll
Same aswithAll(ShortCharMap). -
withAll
-
from
<T> ImmutableShortCharMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)Creates anImmutableShortCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-