Interface MutableObjectLongMapFactory
- All Known Implementing Classes:
MutableObjectLongMapFactoryImpl
public interface MutableObjectLongMapFactory
A factory which creates instances of type
MutableObjectLongMap.
This file was automatically generated from template file mutableObjectPrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and Type Method Description <K> MutableObjectLongMap<K>empty()<T, K> MutableObjectLongMap<K>from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, LongFunction<? super T> valueFunction)Creates anMutableObjectLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> MutableObjectLongMap<K>of()Same asempty().<K> MutableObjectLongMap<K>ofAll(ObjectLongMap<? extends K> map)Same aswithAll(ObjectLongMap).<K> MutableObjectLongMap<K>ofInitialCapacity(int capacity)Same asempty().<K> MutableObjectLongMap<K>with()Same asempty().<K> MutableObjectLongMap<K>withAll(ObjectLongMap<? extends K> map)<K> MutableObjectLongMap<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(ObjectLongMap). -
withAll
-
from
<T, K> MutableObjectLongMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, LongFunction<? super T> valueFunction)Creates anMutableObjectLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-