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