Interface ImmutableObjectShortMapFactory
-
public interface ImmutableObjectShortMapFactoryA factory which creates instances of typeImmutableObjectShortMap. 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> ImmutableObjectShortMap<K>empty()<T,K>
ImmutableObjectShortMap<K>from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)Creates anImmutableObjectShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> ImmutableObjectShortMap<K>of()Same asempty().<K> ImmutableObjectShortMap<K>of(K key, short value)Same aswith(Object, short).<K> ImmutableObjectShortMap<K>ofAll(ObjectShortMap<? extends K> map)Same aswithAll(ObjectShortMap).<K> ImmutableObjectShortMap<K>with()Same asempty().<K> ImmutableObjectShortMap<K>with(K key, short value)<K> ImmutableObjectShortMap<K>withAll(ObjectShortMap<? extends K> map)
-
-
-
Method Detail
-
empty
<K> ImmutableObjectShortMap<K> empty()
- Since:
- 6.0
-
of
<K> ImmutableObjectShortMap<K> of()
Same asempty().
-
with
<K> ImmutableObjectShortMap<K> with()
Same asempty().
-
of
<K> ImmutableObjectShortMap<K> of(K key, short value)
Same aswith(Object, short).
-
with
<K> ImmutableObjectShortMap<K> with(K key, short value)
-
ofAll
<K> ImmutableObjectShortMap<K> ofAll(ObjectShortMap<? extends K> map)
Same aswithAll(ObjectShortMap).
-
withAll
<K> ImmutableObjectShortMap<K> withAll(ObjectShortMap<? extends K> map)
-
from
<T,K> ImmutableObjectShortMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableObjectShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-
-