Interface ImmutableObjectByteMapFactory
- All Known Implementing Classes:
ImmutableObjectByteMapFactoryImpl
public interface ImmutableObjectByteMapFactory
A factory which creates instances of type
ImmutableObjectByteMap
.
This file was automatically generated from template file immutableObjectPrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescription<K> ImmutableObjectByteMap
<K> empty()
<T,
K> ImmutableObjectByteMap <K> from
(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, ByteFunction<? super T> valueFunction) Creates anImmutableObjectByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> ImmutableObjectByteMap
<K> of()
Same asempty()
.<K> ImmutableObjectByteMap
<K> of
(K key, byte value) Same aswith(Object, byte)
.<K> ImmutableObjectByteMap
<K> ofAll
(ObjectByteMap<? extends K> map) Same aswithAll(ObjectByteMap)
.<K> ImmutableObjectByteMap
<K> with()
Same asempty()
.<K> ImmutableObjectByteMap
<K> with
(K key, byte value) <K> ImmutableObjectByteMap
<K> withAll
(ObjectByteMap<? extends K> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty()
. -
with
Same asempty()
. -
of
Same aswith(Object, byte)
. -
with
-
ofAll
Same aswithAll(ObjectByteMap)
. -
withAll
-
from
<T,K> ImmutableObjectByteMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, ByteFunction<? super T> valueFunction) Creates anImmutableObjectByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-