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 Type Method Description ImmutableLongIntMap
empty()
<T> ImmutableLongIntMap
from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableLongIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableLongIntMap
of()
Same asempty()
.ImmutableLongIntMap
of(long key, int value)
Same aswith(long, int)
.ImmutableLongIntMap
ofAll(LongIntMap map)
Same aswithAll(LongIntMap)
.ImmutableLongIntMap
with()
Same asempty()
.ImmutableLongIntMap
with(long key, int value)
ImmutableLongIntMap
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
-