Interface ImmutableObjectShortMapFactory
- All Known Implementing Classes:
ImmutableObjectShortMapFactoryImpl
public interface ImmutableObjectShortMapFactory
A factory which creates instances of type
ImmutableObjectShortMap
.
This file was automatically generated from template file immutableObjectPrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
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 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 Details
-
empty
- Since:
- 6.0
-
of
Same asempty()
. -
with
Same asempty()
. -
of
Same aswith(Object, short)
. -
with
-
ofAll
Same aswithAll(ObjectShortMap)
. -
withAll
-
from
<T, K> ImmutableObjectShortMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)Creates anImmutableObjectShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-