Interface MutableDoubleObjectMapFactory
- All Known Implementing Classes:
MutableDoubleObjectMapFactoryImpl
public interface MutableDoubleObjectMapFactory
A factory which creates instances of type
MutableDoubleObjectMap
.
This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and Type Method Description <V> MutableDoubleObjectMap<V>
empty()
<T, V> MutableDoubleObjectMap<V>
from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableDoubleObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> MutableDoubleObjectMap<V>
of()
Same asempty()
.<V> MutableDoubleObjectMap<V>
ofAll(DoubleObjectMap<? extends V> map)
Same aswithAll(DoubleObjectMap)
.<V> MutableDoubleObjectMap<V>
ofInitialCapacity(int capacity)
Same asempty()
.<V> MutableDoubleObjectMap<V>
with()
Same asempty()
.<V> MutableDoubleObjectMap<V>
withAll(DoubleObjectMap<? extends V> map)
<V> MutableDoubleObjectMap<V>
withInitialCapacity(int capacity)
Same asempty()
.
-
Method Details
-
empty
-
of
Same asempty()
. -
with
Same asempty()
. -
ofInitialCapacity
Same asempty()
. but takes in an initial capacity -
withInitialCapacity
Same asempty()
. but takes in an initial capacity -
ofAll
Same aswithAll(DoubleObjectMap)
. -
withAll
-
from
<T, V> MutableDoubleObjectMap<V> from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anMutableDoubleObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-