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