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 ImmutableIntLongMapempty()<T> ImmutableIntLongMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntLongMapof()Same asempty().ImmutableIntLongMapof(int key, long value)Same aswith(int, long).ImmutableIntLongMapofAll(IntLongMap map)Same aswithAll(IntLongMap).ImmutableIntLongMapwith()Same asempty().ImmutableIntLongMapwith(int key, long value)ImmutableIntLongMapwithAll(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
-