Interface MutableShortObjectMapFactory
- All Known Implementing Classes:
MutableShortObjectMapFactoryImpl
public interface MutableShortObjectMapFactory
A factory which creates instances of type
MutableShortObjectMap.
This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and Type Method Description <V> MutableShortObjectMap<V>empty()<T, V> MutableShortObjectMap<V>from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anMutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> MutableShortObjectMap<V>of()Same asempty().<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().<V> MutableShortObjectMap<V>withAll(ShortObjectMap<? extends V> map)<V> MutableShortObjectMap<V>withInitialCapacity(int capacity)Same asempty().
-
Method Details
-
empty
-
of
Same asempty(). -
with
Same asempty(). -
ofInitialCapacity
Same asempty(). but takes in an initial capacity -
withInitialCapacity
Same asempty(). but takes in an initial capacity -
ofAll
Same aswithAll(ShortObjectMap). -
withAll
-
from
<T, V> MutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anMutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-