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