Interface ImmutableShortObjectMapFactory
-
- All Known Implementing Classes:
ImmutableShortObjectMapFactoryImpl
public interface ImmutableShortObjectMapFactory
A factory which creates instances of typeImmutableShortObjectMap
. This file was automatically generated from template file immutablePrimitiveObjectMapFactory.stg.- Since:
- 4.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> ImmutableShortObjectMap<V>
empty()
<T,V>
ImmutableShortObjectMap<V>from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<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 Detail
-
empty
<V> ImmutableShortObjectMap<V> empty()
- Since:
- 6.0
-
of
<V> ImmutableShortObjectMap<V> of()
Same asempty()
.
-
with
<V> ImmutableShortObjectMap<V> with()
Same asempty()
.
-
of
<V> ImmutableShortObjectMap<V> of(short key, V value)
Same aswith(short, Object)
.
-
with
<V> ImmutableShortObjectMap<V> with(short key, V value)
-
ofAll
<V> ImmutableShortObjectMap<V> ofAll(ShortObjectMap<? extends V> map)
Same aswithAll(ShortObjectMap)
.
-
withAll
<V> ImmutableShortObjectMap<V> withAll(ShortObjectMap<? extends V> map)
-
from
<T,V> ImmutableShortObjectMap<V> from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-