Interface ImmutableIntObjectMapFactory
-
- All Known Implementing Classes:
ImmutableIntObjectMapFactoryImpl
public interface ImmutableIntObjectMapFactory
A factory which creates instances of typeImmutableIntObjectMap
. This file was automatically generated from template file immutablePrimitiveObjectMapFactory.stg.- Since:
- 4.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> ImmutableIntObjectMap<V>
empty()
<T,V>
ImmutableIntObjectMap<V>from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableIntObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> ImmutableIntObjectMap<V>
of()
Same asempty()
.<V> ImmutableIntObjectMap<V>
of(int key, V value)
Same aswith(int, Object)
.<V> ImmutableIntObjectMap<V>
ofAll(IntObjectMap<? extends V> map)
Same aswithAll(IntObjectMap)
.<V> ImmutableIntObjectMap<V>
with()
Same asempty()
.<V> ImmutableIntObjectMap<V>
with(int key, V value)
<V> ImmutableIntObjectMap<V>
withAll(IntObjectMap<? extends V> map)
-
-
-
Method Detail
-
empty
<V> ImmutableIntObjectMap<V> empty()
- Since:
- 6.0
-
of
<V> ImmutableIntObjectMap<V> of()
Same asempty()
.
-
with
<V> ImmutableIntObjectMap<V> with()
Same asempty()
.
-
of
<V> ImmutableIntObjectMap<V> of(int key, V value)
Same aswith(int, Object)
.
-
with
<V> ImmutableIntObjectMap<V> with(int key, V value)
-
ofAll
<V> ImmutableIntObjectMap<V> ofAll(IntObjectMap<? extends V> map)
Same aswithAll(IntObjectMap)
.
-
withAll
<V> ImmutableIntObjectMap<V> withAll(IntObjectMap<? extends V> map)
-
from
<T,V> ImmutableIntObjectMap<V> from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableIntObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-