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