Interface ImmutableLongIntMapFactory
- All Known Implementing Classes:
ImmutableLongIntMapFactoryImpl
public interface ImmutableLongIntMapFactory
A factory which creates instances of type
ImmutableLongIntMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableLongIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.of
(long key, int value) Same aswith(long, int)
.ofAll
(LongIntMap map) Same aswithAll(LongIntMap)
.with()
Same asempty()
.with
(long key, int value) withAll
(LongIntMap map)
-
Method Details
-
empty
ImmutableLongIntMap empty()- Since:
- 6.0
-
of
ImmutableLongIntMap of()Same asempty()
. -
with
ImmutableLongIntMap with()Same asempty()
. -
of
Same aswith(long, int)
. -
with
-
ofAll
Same aswithAll(LongIntMap)
. -
withAll
-
from
<T> ImmutableLongIntMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableLongIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-