Interface ImmutableDoubleShortMapFactory
- All Known Implementing Classes:
ImmutableDoubleShortMapFactoryImpl
public interface ImmutableDoubleShortMapFactory
A factory which creates instances of type
ImmutableDoubleShortMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anImmutableDoubleShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.of
(double key, short value) Same aswith(double, short)
.ofAll
(DoubleShortMap map) Same aswithAll(DoubleShortMap)
.with()
Same asempty()
.with
(double key, short value) withAll
(DoubleShortMap map)
-
Method Details
-
empty
ImmutableDoubleShortMap empty()- Since:
- 6.0
-
of
Same asempty()
. -
with
ImmutableDoubleShortMap with()Same asempty()
. -
of
Same aswith(double, short)
. -
with
-
ofAll
Same aswithAll(DoubleShortMap)
. -
withAll
-
from
<T> ImmutableDoubleShortMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anImmutableDoubleShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-