Interface ImmutableShortIntMapFactory
- All Known Implementing Classes:
ImmutableShortIntMapFactoryImpl
public interface ImmutableShortIntMapFactory
A factory which creates instances of type
ImmutableShortIntMap
.
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, IntFunction<? super T> valueFunction) Creates anImmutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.of
(short key, int value) Same aswith(short, int)
.ofAll
(ShortIntMap map) Same aswithAll(ShortIntMap)
.with()
Same asempty()
.with
(short key, int value) withAll
(ShortIntMap map)
-
Method Details
-
empty
ImmutableShortIntMap empty()- Since:
- 6.0
-
of
ImmutableShortIntMap of()Same asempty()
. -
with
ImmutableShortIntMap with()Same asempty()
. -
of
Same aswith(short, int)
. -
with
-
ofAll
Same aswithAll(ShortIntMap)
. -
withAll
-
from
<T> ImmutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-