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