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