Interface MutableObjectShortMapFactory
- All Known Implementing Classes:
MutableObjectShortMapFactoryImpl
public interface MutableObjectShortMapFactory
A factory which creates instances of type
MutableObjectShortMap.
This file was automatically generated from template file mutableObjectPrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
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().<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().<K> MutableObjectShortMap<K>withAll(ObjectShortMap<? extends K> map)<K> MutableObjectShortMap<K>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(ObjectShortMap). -
withAll
-
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
-