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