Interface ImmutableByteObjectMapFactory
public interface ImmutableByteObjectMapFactory
A factory which creates instances of type
ImmutableByteObjectMap.
This file was automatically generated from template file immutablePrimitiveObjectMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescription<V> ImmutableByteObjectMap<V>empty()<T,V> ImmutableByteObjectMap<V> from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableByteObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> ImmutableByteObjectMap<V>of()Same asempty().<V> ImmutableByteObjectMap<V>of(byte key, V value) Same aswith(byte, Object).<V> ImmutableByteObjectMap<V>ofAll(ByteObjectMap<? extends V> map) Same aswithAll(ByteObjectMap).<V> ImmutableByteObjectMap<V>with()Same asempty().<V> ImmutableByteObjectMap<V>with(byte key, V value) <V> ImmutableByteObjectMap<V>withAll(ByteObjectMap<? extends V> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty(). -
with
Same asempty(). -
of
Same aswith(byte, Object). -
with
-
ofAll
Same aswithAll(ByteObjectMap). -
withAll
-
from
<T,V> ImmutableByteObjectMap<V> from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableByteObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-