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