Interface MutableShortShortMapFactory
-
- All Known Implementing Classes:
MutableShortShortMapFactoryImpl
public interface MutableShortShortMapFactory
A factory which creates instances of typeMutableShortShortMap
. 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 MutableShortShortMap
empty()
<T> MutableShortShortMap
from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableShortShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableShortShortMap
of()
Same asempty()
.default MutableShortShortMap
of(short key, short value)
default MutableShortShortMap
of(short key1, short value1, short key2, short value2)
default MutableShortShortMap
of(short key1, short value1, short key2, short value2, short key3, short value3)
default MutableShortShortMap
of(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4)
MutableShortShortMap
ofAll(ShortShortMap map)
Same aswithAll(ShortShortMap)
.MutableShortShortMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableShortShortMap
with()
Same asempty()
.default MutableShortShortMap
with(short key, short value)
default MutableShortShortMap
with(short key1, short value1, short key2, short value2)
default MutableShortShortMap
with(short key1, short value1, short key2, short value2, short key3, short value3)
default MutableShortShortMap
with(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4)
MutableShortShortMap
withAll(ShortShortMap map)
MutableShortShortMap
withInitialCapacity(int capacity)
Same asempty()
.
-
-
-
Method Detail
-
empty
MutableShortShortMap empty()
-
of
MutableShortShortMap of()
Same asempty()
.
-
with
MutableShortShortMap with()
Same asempty()
.
-
of
default MutableShortShortMap of(short key, short value)
- Since:
- 11.1.
-
with
default MutableShortShortMap with(short key, short value)
- Since:
- 11.1.
-
of
default MutableShortShortMap of(short key1, short value1, short key2, short value2)
- Since:
- 11.1.
-
with
default MutableShortShortMap with(short key1, short value1, short key2, short value2)
- Since:
- 11.1.
-
of
default MutableShortShortMap of(short key1, short value1, short key2, short value2, short key3, short value3)
- Since:
- 11.1.
-
with
default MutableShortShortMap with(short key1, short value1, short key2, short value2, short key3, short value3)
- Since:
- 11.1.
-
of
default MutableShortShortMap of(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4)
- Since:
- 11.1.
-
with
default MutableShortShortMap with(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4)
- Since:
- 11.1.
-
ofInitialCapacity
MutableShortShortMap ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
MutableShortShortMap withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
MutableShortShortMap ofAll(ShortShortMap map)
Same aswithAll(ShortShortMap)
.
-
withAll
MutableShortShortMap withAll(ShortShortMap map)
-
from
<T> MutableShortShortMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableShortShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-