Interface ImmutableShortLongMapFactory
- All Known Implementing Classes:
ImmutableShortLongMapFactoryImpl
public interface ImmutableShortLongMapFactory
A factory which creates instances of type
ImmutableShortLongMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description ImmutableShortLongMapempty()<T> ImmutableShortLongMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortLongMapof()Same asempty().ImmutableShortLongMapof(short key, long value)Same aswith(short, long).ImmutableShortLongMapofAll(ShortLongMap map)Same aswithAll(ShortLongMap).ImmutableShortLongMapwith()Same asempty().ImmutableShortLongMapwith(short key, long value)ImmutableShortLongMapwithAll(ShortLongMap map)
-
Method Details
-
empty
ImmutableShortLongMap empty()- Since:
- 6.0
-
of
Same asempty(). -
with
ImmutableShortLongMap with()Same asempty(). -
of
Same aswith(short, long). -
with
-
ofAll
Same aswithAll(ShortLongMap). -
withAll
-
from
<T> ImmutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-