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