Interface ImmutableByteIntMapFactory
- All Known Implementing Classes:
ImmutableByteIntMapFactoryImpl
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 Type Method Description ImmutableByteIntMap
empty()
<T> ImmutableByteIntMap
from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableByteIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableByteIntMap
of()
Same asempty()
.ImmutableByteIntMap
of(byte key, int value)
Same aswith(byte, int)
.ImmutableByteIntMap
ofAll(ByteIntMap map)
Same aswithAll(ByteIntMap)
.ImmutableByteIntMap
with()
Same asempty()
.ImmutableByteIntMap
with(byte key, int value)
ImmutableByteIntMap
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 anImmutableByteIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-