Interface MutableObjectByteMapFactory
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 TypeMethodDescription<K> MutableObjectByteMap<K>empty()<T,K> MutableObjectByteMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, ByteFunction<? super T> valueFunction) Creates anMutableObjectByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> MutableObjectByteMap<K>of()Same asempty().default <K> MutableObjectByteMap<K>of(K key, byte value) default <K> MutableObjectByteMap<K>of(K key1, byte value1, K key2, byte value2) default <K> MutableObjectByteMap<K>of(K key1, byte value1, K key2, byte value2, K key3, byte value3) default <K> MutableObjectByteMap<K>of(K key1, byte value1, K key2, byte value2, K key3, byte value3, K key4, byte value4) <K> MutableObjectByteMap<K>ofAll(ObjectByteMap<? extends K> map) Same aswithAll(ObjectByteMap).<K> MutableObjectByteMap<K>ofInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity<K> MutableObjectByteMap<K>with()Same asempty().default <K> MutableObjectByteMap<K>with(K key, byte value) default <K> MutableObjectByteMap<K>with(K key1, byte value1, K key2, byte value2) default <K> MutableObjectByteMap<K>with(K key1, byte value1, K key2, byte value2, K key3, byte value3) default <K> MutableObjectByteMap<K>with(K key1, byte value1, K key2, byte value2, K key3, byte value3, K key4, byte value4) <K> MutableObjectByteMap<K>withAll(ObjectByteMap<? extends K> map) <K> MutableObjectByteMap<K>withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
Method Details
-
empty
-
of
Same asempty(). -
with
Same asempty(). -
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
default <K> MutableObjectByteMap<K> with(K key1, byte value1, K key2, byte value2, K key3, byte value3) - Since:
- 11.1.
-
of
default <K> MutableObjectByteMap<K> of(K key1, byte value1, K key2, byte value2, K key3, byte value3) - Since:
- 11.1.
-
with
default <K> MutableObjectByteMap<K> with(K key1, byte value1, K key2, byte value2, K key3, byte value3, K key4, byte value4) - Since:
- 11.1.
-
of
default <K> MutableObjectByteMap<K> of(K key1, byte value1, K key2, byte value2, K key3, byte value3, K key4, byte value4) - Since:
- 11.1.
-
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 anMutableObjectByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-