Interface MutableObjectShortMapFactory
-
public interface MutableObjectShortMapFactoryA factory which creates instances of typeMutableObjectShortMap. This file was automatically generated from template file mutableObjectPrimitiveMapFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <K> MutableObjectShortMap<K>empty()<T,K>
MutableObjectShortMap<K>from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableObjectShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> MutableObjectShortMap<K>of()Same asempty().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 aswithAll(ObjectShortMap).<K> MutableObjectShortMap<K>ofInitialCapacity(int capacity)Same asempty().<K> MutableObjectShortMap<K>with()Same asempty().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 asempty().
-
-
-
Method Detail
-
empty
<K> MutableObjectShortMap<K> empty()
-
of
<K> MutableObjectShortMap<K> of()
Same asempty().
-
with
<K> MutableObjectShortMap<K> with()
Same asempty().
-
with
default <K> MutableObjectShortMap<K> with(K key, short value)
- Since:
- 11.1.
-
of
default <K> MutableObjectShortMap<K> of(K key, short value)
- Since:
- 11.1.
-
with
default <K> MutableObjectShortMap<K> with(K key1, short value1, K key2, short value2)
- Since:
- 11.1.
-
of
default <K> MutableObjectShortMap<K> of(K key1, short value1, K key2, short value2)
- Since:
- 11.1.
-
with
default <K> MutableObjectShortMap<K> with(K key1, short value1, K key2, short value2, K key3, short value3)
- Since:
- 11.1.
-
of
default <K> MutableObjectShortMap<K> of(K key1, short value1, K key2, short value2, K key3, short value3)
- Since:
- 11.1.
-
with
default <K> MutableObjectShortMap<K> with(K key1, short value1, K key2, short value2, K key3, short value3, K key4, short value4)
- Since:
- 11.1.
-
of
default <K> MutableObjectShortMap<K> of(K key1, short value1, K key2, short value2, K key3, short value3, K key4, short value4)
- Since:
- 11.1.
-
ofInitialCapacity
<K> MutableObjectShortMap<K> ofInitialCapacity(int capacity)
Same asempty(). but takes in an initial capacity
-
withInitialCapacity
<K> MutableObjectShortMap<K> withInitialCapacity(int capacity)
Same asempty(). but takes in an initial capacity
-
ofAll
<K> MutableObjectShortMap<K> ofAll(ObjectShortMap<? extends K> map)
Same aswithAll(ObjectShortMap).
-
withAll
<K> MutableObjectShortMap<K> withAll(ObjectShortMap<? extends K> map)
-
from
<T,K> MutableObjectShortMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableObjectShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-
-