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