Interface ImmutableByteIntMapFactory
public interface ImmutableByteIntMapFactory
A factory which creates instances of type
ImmutableByteIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableByteIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().of(byte key, int value) Same aswith(byte, int).ofAll(ByteIntMap map) Same aswithAll(ByteIntMap).with()Same asempty().with(byte key, int value) withAll(ByteIntMap map)
-
Method Details
-
empty
ImmutableByteIntMap empty()- Since:
- 6.0
-
of
ImmutableByteIntMap of()Same asempty(). -
with
ImmutableByteIntMap with()Same asempty(). -
of
Same aswith(byte, int). -
with
-
ofAll
Same aswithAll(ByteIntMap). -
withAll
-
from
<T> ImmutableByteIntMap from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableByteIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-