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