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 Type Method Description ImmutableDoubleShortMap
empty()
<T> ImmutableDoubleShortMap
from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableDoubleShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableDoubleShortMap
of()
Same asempty()
.ImmutableDoubleShortMap
of(double key, short value)
Same aswith(double, short)
.ImmutableDoubleShortMap
ofAll(DoubleShortMap map)
Same aswithAll(DoubleShortMap)
.ImmutableDoubleShortMap
with()
Same asempty()
.ImmutableDoubleShortMap
with(double key, short value)
ImmutableDoubleShortMap
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
-