Interface ImmutableIntObjectMapFactory
- All Known Implementing Classes:
ImmutableIntObjectMapFactoryImpl
public interface ImmutableIntObjectMapFactory
A factory which creates instances of type
ImmutableIntObjectMap.
This file was automatically generated from template file immutablePrimitiveObjectMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescription<V> ImmutableIntObjectMap<V> empty()<T,V> ImmutableIntObjectMap <V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableIntObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<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 Details
-
empty
- Since:
- 6.0
-
of
Same asempty(). -
with
Same asempty(). -
of
Same aswith(int, Object). -
with
-
ofAll
Same aswithAll(IntObjectMap). -
withAll
-
from
<T,V> ImmutableIntObjectMap<V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableIntObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-