Interface ImmutableIntLongMapFactory
-
- All Known Implementing Classes:
ImmutableIntLongMapFactoryImpl
public interface ImmutableIntLongMapFactory
A factory which creates instances of typeImmutableIntLongMap
. 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 ImmutableIntLongMap
empty()
<T> ImmutableIntLongMap
from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Creates anImmutableIntLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableIntLongMap
of()
Same asempty()
.ImmutableIntLongMap
of(int key, long value)
Same aswith(int, long)
.ImmutableIntLongMap
ofAll(IntLongMap map)
Same aswithAll(IntLongMap)
.ImmutableIntLongMap
with()
Same asempty()
.ImmutableIntLongMap
with(int key, long value)
ImmutableIntLongMap
withAll(IntLongMap map)
-
-
-
Method Detail
-
empty
ImmutableIntLongMap empty()
- Since:
- 6.0
-
of
ImmutableIntLongMap of()
Same asempty()
.
-
with
ImmutableIntLongMap with()
Same asempty()
.
-
of
ImmutableIntLongMap of(int key, long value)
Same aswith(int, long)
.
-
with
ImmutableIntLongMap with(int key, long value)
-
ofAll
ImmutableIntLongMap ofAll(IntLongMap map)
Same aswithAll(IntLongMap)
.
-
withAll
ImmutableIntLongMap withAll(IntLongMap map)
-
from
<T> ImmutableIntLongMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Creates anImmutableIntLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-