public interface MutableLongShortMapFactory
MutableLongShortMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.| Modifier and Type | Method and Description |
|---|---|
MutableLongShortMap |
empty() |
<T> MutableLongShortMap |
from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableLongShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableLongShortMap |
of()
Same as
empty(). |
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 as
withAll(LongShortMap). |
MutableLongShortMap |
ofInitialCapacity(int capacity)
Same as
empty(). |
MutableLongShortMap |
with()
Same as
empty(). |
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 as
empty(). |
MutableLongShortMap empty()
MutableLongShortMap of()
empty().MutableLongShortMap with()
empty().default MutableLongShortMap of(long key, short value)
default MutableLongShortMap with(long key, short value)
default MutableLongShortMap of(long key1, short value1, long key2, short value2)
default MutableLongShortMap with(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 with(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)
default MutableLongShortMap with(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4)
MutableLongShortMap ofInitialCapacity(int capacity)
empty(). but takes in an initial capacityMutableLongShortMap withInitialCapacity(int capacity)
empty(). but takes in an initial capacityMutableLongShortMap ofAll(LongShortMap map)
withAll(LongShortMap).MutableLongShortMap withAll(LongShortMap map)
<T> MutableLongShortMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
MutableLongShortMap from an Iterable<T> by applying keyFunction and valueFunction.Copyright © 2004–2023. All rights reserved.