Interface ImmutableShortObjectMapFactory
public interface ImmutableShortObjectMapFactory
A factory which creates instances of type
ImmutableShortObjectMap.
This file was automatically generated from template file immutablePrimitiveObjectMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescription<V> ImmutableShortObjectMap<V>empty()<T,V> ImmutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> ImmutableShortObjectMap<V>of()Same asempty().<V> ImmutableShortObjectMap<V>of(short key, V value) Same aswith(short, Object).<V> ImmutableShortObjectMap<V>ofAll(ShortObjectMap<? extends V> map) Same aswithAll(ShortObjectMap).<V> ImmutableShortObjectMap<V>with()Same asempty().<V> ImmutableShortObjectMap<V>with(short key, V value) <V> ImmutableShortObjectMap<V>withAll(ShortObjectMap<? extends V> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty(). -
with
Same asempty(). -
of
Same aswith(short, Object). -
with
-
ofAll
Same aswithAll(ShortObjectMap). -
withAll
-
from
<T,V> ImmutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-