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