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