Interface ImmutableIntLongMapFactory
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 TypeMethodDescriptionempty()from(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().of(int key, long value) Same aswith(int, long).ofAll(IntLongMap map) Same aswithAll(IntLongMap).with()Same asempty().with(int key, long value) 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 anImmutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-