Interface MutableObjectDoubleMapFactory
- All Known Implementing Classes:
MutableObjectDoubleMapFactoryImpl
public interface MutableObjectDoubleMapFactory
A factory which creates instances of type
MutableObjectDoubleMap
.
This file was automatically generated from template file mutableObjectPrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and Type Method Description <K> MutableObjectDoubleMap<K>
empty()
<T, K> MutableObjectDoubleMap<K>
from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, DoubleFunction<? super T> valueFunction)
Creates anMutableObjectDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> MutableObjectDoubleMap<K>
of()
Same asempty()
.<K> MutableObjectDoubleMap<K>
ofAll(ObjectDoubleMap<? extends K> map)
Same aswithAll(ObjectDoubleMap)
.<K> MutableObjectDoubleMap<K>
ofInitialCapacity(int capacity)
Same asempty()
.<K> MutableObjectDoubleMap<K>
with()
Same asempty()
.<K> MutableObjectDoubleMap<K>
withAll(ObjectDoubleMap<? extends K> map)
<K> MutableObjectDoubleMap<K>
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(ObjectDoubleMap)
. -
withAll
-
from
<T, K> MutableObjectDoubleMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, DoubleFunction<? super T> valueFunction)Creates anMutableObjectDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-