Class ImmutableByteIntMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableByteIntMapFactoryImpl
- All Implemented Interfaces:
ImmutableByteIntMapFactory
ImmutableByteIntMapFactoryImpl is a factory implementation which creates instances of type
ImmutableByteIntMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, ByteFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableByteIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asImmutableByteIntMapFactory.empty()
.of
(byte key, int value) ofAll
(ByteIntMap map) with()
Same asImmutableByteIntMapFactory.empty()
.with
(byte key, int value) withAll
(ByteIntMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableByteIntMapFactoryImpl
public ImmutableByteIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableByteIntMapFactory
-
of
Description copied from interface:ImmutableByteIntMapFactory
Same asImmutableByteIntMapFactory.empty()
.- Specified by:
of
in interfaceImmutableByteIntMapFactory
-
with
Description copied from interface:ImmutableByteIntMapFactory
Same asImmutableByteIntMapFactory.empty()
.- Specified by:
with
in interfaceImmutableByteIntMapFactory
-
of
Description copied from interface:ImmutableByteIntMapFactory
- Specified by:
of
in interfaceImmutableByteIntMapFactory
-
with
- Specified by:
with
in interfaceImmutableByteIntMapFactory
-
ofAll
Description copied from interface:ImmutableByteIntMapFactory
- Specified by:
ofAll
in interfaceImmutableByteIntMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableByteIntMapFactory
-
from
public <T> ImmutableByteIntMap from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:ImmutableByteIntMapFactory
Creates anImmutableByteIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableByteIntMapFactory
-