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