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