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 TypeMethodDescriptionempty()
from
(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.of
(short key, long value) Same aswith(short, long)
.ofAll
(ShortLongMap map) Same aswithAll(ShortLongMap)
.with()
Same asempty()
.with
(short key, long value) withAll
(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 anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-