Interface ImmutableIntLongMapFactory
- All Known Implementing Classes:
ImmutableIntLongMapFactoryImpl
public interface ImmutableIntLongMapFactory
A factory which creates instances of type
ImmutableIntLongMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description ImmutableIntLongMap
empty()
<T> ImmutableIntLongMap
from(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 Details
-
empty
ImmutableIntLongMap empty()- Since:
- 6.0
-
of
ImmutableIntLongMap of()Same asempty()
. -
with
ImmutableIntLongMap with()Same asempty()
. -
of
Same aswith(int, long)
. -
with
-
ofAll
Same aswithAll(IntLongMap)
. -
withAll
-
from
<T> ImmutableIntLongMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableIntLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-