Interface MutableShortByteMapFactory
public interface MutableShortByteMapFactory
A factory which creates instances of type
MutableShortByteMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Creates anMutableShortByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().default MutableShortByteMapof(short key, byte value) default MutableShortByteMapof(short key1, byte value1, short key2, byte value2) default MutableShortByteMapof(short key1, byte value1, short key2, byte value2, short key3, byte value3) default MutableShortByteMapof(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4) ofAll(ShortByteMap map) Same aswithAll(ShortByteMap).ofInitialCapacity(int capacity) Same asempty(). but takes in an initial capacitywith()Same asempty().default MutableShortByteMapwith(short key, byte value) default MutableShortByteMapwith(short key1, byte value1, short key2, byte value2) default MutableShortByteMapwith(short key1, byte value1, short key2, byte value2, short key3, byte value3) default MutableShortByteMapwith(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4) withAll(ShortByteMap map) withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
Method Details
-
empty
MutableShortByteMap empty() -
of
MutableShortByteMap of()Same asempty(). -
with
MutableShortByteMap with()Same asempty(). -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default MutableShortByteMap of(short key1, byte value1, short key2, byte value2, short key3, byte value3) - Since:
- 11.1.
-
with
default MutableShortByteMap with(short key1, byte value1, short key2, byte value2, short key3, byte value3) - Since:
- 11.1.
-
of
default MutableShortByteMap of(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4) - Since:
- 11.1.
-
with
default MutableShortByteMap with(short key1, byte value1, short key2, byte value2, short key3, byte value3, short 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(ShortByteMap). -
withAll
-
from
<T> MutableShortByteMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Creates anMutableShortByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-