Interface ImmutableObjectDoubleMapFactory
- All Known Implementing Classes:
ImmutableObjectDoubleMapFactoryImpl
public interface ImmutableObjectDoubleMapFactory
A factory which creates instances of type
ImmutableObjectDoubleMap
.
This file was automatically generated from template file immutableObjectPrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescription<K> ImmutableObjectDoubleMap<K>
empty()
<T,
K> ImmutableObjectDoubleMap<K> from
(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, DoubleFunction<? super T> valueFunction) Creates anImmutableObjectDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> ImmutableObjectDoubleMap<K>
of()
Same asempty()
.<K> ImmutableObjectDoubleMap<K>
of
(K key, double value) Same aswith(Object, double)
.<K> ImmutableObjectDoubleMap<K>
ofAll
(ObjectDoubleMap<? extends K> map) Same aswithAll(ObjectDoubleMap)
.<K> ImmutableObjectDoubleMap<K>
with()
Same asempty()
.<K> ImmutableObjectDoubleMap<K>
with
(K key, double value) <K> ImmutableObjectDoubleMap<K>
withAll
(ObjectDoubleMap<? extends K> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty()
. -
with
Same asempty()
. -
of
Same aswith(Object, double)
. -
with
-
ofAll
Same aswithAll(ObjectDoubleMap)
. -
withAll
-
from
<T,K> ImmutableObjectDoubleMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, DoubleFunction<? super T> valueFunction) Creates anImmutableObjectDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-