public interface MutableObjectShortMapFactory
MutableObjectShortMap.
This file was automatically generated from template file mutableObjectPrimitiveMapFactory.stg.| Modifier and Type | Method and Description |
|---|---|
<K> MutableObjectShortMap<K> |
empty() |
<T,K> MutableObjectShortMap<K> |
from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> MutableObjectShortMap<K> |
of()
Same as
empty(). |
default <K> MutableObjectShortMap<K> |
of(K key,
short value) |
default <K> MutableObjectShortMap<K> |
of(K key1,
short value1,
K key2,
short value2) |
default <K> MutableObjectShortMap<K> |
of(K key1,
short value1,
K key2,
short value2,
K key3,
short value3) |
default <K> MutableObjectShortMap<K> |
of(K key1,
short value1,
K key2,
short value2,
K key3,
short value3,
K key4,
short value4) |
<K> MutableObjectShortMap<K> |
ofAll(ObjectShortMap<? extends K> map)
Same as
withAll(ObjectShortMap). |
<K> MutableObjectShortMap<K> |
ofInitialCapacity(int capacity)
Same as
empty(). |
<K> MutableObjectShortMap<K> |
with()
Same as
empty(). |
default <K> MutableObjectShortMap<K> |
with(K key,
short value) |
default <K> MutableObjectShortMap<K> |
with(K key1,
short value1,
K key2,
short value2) |
default <K> MutableObjectShortMap<K> |
with(K key1,
short value1,
K key2,
short value2,
K key3,
short value3) |
default <K> MutableObjectShortMap<K> |
with(K key1,
short value1,
K key2,
short value2,
K key3,
short value3,
K key4,
short value4) |
<K> MutableObjectShortMap<K> |
withAll(ObjectShortMap<? extends K> map) |
<K> MutableObjectShortMap<K> |
withInitialCapacity(int capacity)
Same as
empty(). |
<K> MutableObjectShortMap<K> empty()
<K> MutableObjectShortMap<K> of()
empty().<K> MutableObjectShortMap<K> with()
empty().default <K> MutableObjectShortMap<K> with(K key, short value)
default <K> MutableObjectShortMap<K> of(K key, short value)
default <K> MutableObjectShortMap<K> with(K key1, short value1, K key2, short value2)
default <K> MutableObjectShortMap<K> of(K key1, short value1, K key2, short value2)
default <K> MutableObjectShortMap<K> with(K key1, short value1, K key2, short value2, K key3, short value3)
default <K> MutableObjectShortMap<K> of(K key1, short value1, K key2, short value2, K key3, short value3)
default <K> MutableObjectShortMap<K> with(K key1, short value1, K key2, short value2, K key3, short value3, K key4, short value4)
default <K> MutableObjectShortMap<K> of(K key1, short value1, K key2, short value2, K key3, short value3, K key4, short value4)
<K> MutableObjectShortMap<K> ofInitialCapacity(int capacity)
empty(). but takes in an initial capacity<K> MutableObjectShortMap<K> withInitialCapacity(int capacity)
empty(). but takes in an initial capacity<K> MutableObjectShortMap<K> ofAll(ObjectShortMap<? extends K> map)
withAll(ObjectShortMap).<K> MutableObjectShortMap<K> withAll(ObjectShortMap<? extends K> map)
<T,K> MutableObjectShortMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)
MutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction.Copyright © 2004–2022. All rights reserved.