Interface ImmutableObjectShortMapFactory
-
- All Known Implementing Classes:
ImmutableObjectShortMapFactoryImpl
public interface ImmutableObjectShortMapFactory
A 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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableObjectShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableObjectShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-