Interface ImmutableIntShortMapFactory
- All Known Implementing Classes:
ImmutableIntShortMapFactoryImpl
public interface ImmutableIntShortMapFactory
A factory which creates instances of type
ImmutableIntShortMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description ImmutableIntShortMapempty()<T> ImmutableIntShortMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anImmutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntShortMapof()Same asempty().ImmutableIntShortMapof(int key, short value)Same aswith(int, short).ImmutableIntShortMapofAll(IntShortMap map)Same aswithAll(IntShortMap).ImmutableIntShortMapwith()Same asempty().ImmutableIntShortMapwith(int key, short value)ImmutableIntShortMapwithAll(IntShortMap map)
-
Method Details
-
empty
ImmutableIntShortMap empty()- Since:
- 6.0
-
of
ImmutableIntShortMap of()Same asempty(). -
with
ImmutableIntShortMap with()Same asempty(). -
of
Same aswith(int, short). -
with
-
ofAll
Same aswithAll(IntShortMap). -
withAll
-
from
<T> ImmutableIntShortMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anImmutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-