Interface MutableShortByteMapFactory
-
- All Known Implementing Classes:
MutableShortByteMapFactoryImpl
public interface MutableShortByteMapFactory
A factory which creates instances of typeMutableShortByteMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MutableShortByteMap
empty()
<T> MutableShortByteMap
from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Creates anMutableShortByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableShortByteMap
of()
Same asempty()
.default MutableShortByteMap
of(short key, byte value)
default MutableShortByteMap
of(short key1, byte value1, short key2, byte value2)
default MutableShortByteMap
of(short key1, byte value1, short key2, byte value2, short key3, byte value3)
default MutableShortByteMap
of(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4)
MutableShortByteMap
ofAll(ShortByteMap map)
Same aswithAll(ShortByteMap)
.MutableShortByteMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableShortByteMap
with()
Same asempty()
.default MutableShortByteMap
with(short key, byte value)
default MutableShortByteMap
with(short key1, byte value1, short key2, byte value2)
default MutableShortByteMap
with(short key1, byte value1, short key2, byte value2, short key3, byte value3)
default MutableShortByteMap
with(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4)
MutableShortByteMap
withAll(ShortByteMap map)
MutableShortByteMap
withInitialCapacity(int capacity)
Same asempty()
.
-
-
-
Method Detail
-
empty
MutableShortByteMap empty()
-
of
MutableShortByteMap of()
Same asempty()
.
-
with
MutableShortByteMap with()
Same asempty()
.
-
of
default MutableShortByteMap of(short key, byte value)
- Since:
- 11.1.
-
with
default MutableShortByteMap with(short key, byte value)
- Since:
- 11.1.
-
of
default MutableShortByteMap of(short key1, byte value1, short key2, byte value2)
- Since:
- 11.1.
-
with
default MutableShortByteMap with(short key1, byte value1, short key2, byte value2)
- 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
MutableShortByteMap ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
MutableShortByteMap withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
MutableShortByteMap ofAll(ShortByteMap map)
Same aswithAll(ShortByteMap)
.
-
withAll
MutableShortByteMap withAll(ShortByteMap map)
-
from
<T> MutableShortByteMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Creates anMutableShortByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-