Interface MutableShortObjectMapFactory
-
- All Known Implementing Classes:
MutableShortObjectMapFactoryImpl
public interface MutableShortObjectMapFactory
A factory which creates instances of typeMutableShortObjectMap
. This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <V> MutableShortObjectMap<V>
empty()
<T,V>
MutableShortObjectMap<V>from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> MutableShortObjectMap<V>
of()
Same asempty()
.default <V> MutableShortObjectMap<V>
of(short key, V value)
default <V> MutableShortObjectMap<V>
of(short key1, V value1, short key2, V value2)
default <V> MutableShortObjectMap<V>
of(short key1, V value1, short key2, V value2, short key3, V value3)
default <V> MutableShortObjectMap<V>
of(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4)
<V> MutableShortObjectMap<V>
ofAll(ShortObjectMap<? extends V> map)
Same aswithAll(ShortObjectMap)
.<V> MutableShortObjectMap<V>
ofInitialCapacity(int capacity)
Same asempty()
.<V> MutableShortObjectMap<V>
with()
Same asempty()
.default <V> MutableShortObjectMap<V>
with(short key, V value)
default <V> MutableShortObjectMap<V>
with(short key1, V value1, short key2, V value2)
default <V> MutableShortObjectMap<V>
with(short key1, V value1, short key2, V value2, short key3, V value3)
default <V> MutableShortObjectMap<V>
with(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4)
<V> MutableShortObjectMap<V>
withAll(ShortObjectMap<? extends V> map)
<V> MutableShortObjectMap<V>
withInitialCapacity(int capacity)
Same asempty()
.
-
-
-
Method Detail
-
empty
<V> MutableShortObjectMap<V> empty()
-
of
<V> MutableShortObjectMap<V> of()
Same asempty()
.
-
with
<V> MutableShortObjectMap<V> with()
Same asempty()
.
-
of
default <V> MutableShortObjectMap<V> of(short key, V value)
- Since:
- 11.1.
-
with
default <V> MutableShortObjectMap<V> with(short key, V value)
- Since:
- 11.1.
-
of
default <V> MutableShortObjectMap<V> of(short key1, V value1, short key2, V value2)
- Since:
- 11.1.
-
with
default <V> MutableShortObjectMap<V> with(short key1, V value1, short key2, V value2)
- Since:
- 11.1.
-
of
default <V> MutableShortObjectMap<V> of(short key1, V value1, short key2, V value2, short key3, V value3)
- Since:
- 11.1.
-
with
default <V> MutableShortObjectMap<V> with(short key1, V value1, short key2, V value2, short key3, V value3)
- Since:
- 11.1.
-
of
default <V> MutableShortObjectMap<V> of(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4)
- Since:
- 11.1.
-
with
default <V> MutableShortObjectMap<V> with(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4)
- Since:
- 11.1.
-
ofInitialCapacity
<V> MutableShortObjectMap<V> ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
<V> MutableShortObjectMap<V> withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
<V> MutableShortObjectMap<V> ofAll(ShortObjectMap<? extends V> map)
Same aswithAll(ShortObjectMap)
.
-
withAll
<V> MutableShortObjectMap<V> withAll(ShortObjectMap<? extends V> map)
-
from
<T,V> MutableShortObjectMap<V> from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-