Class ImmutableIntByteMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntByteMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntByteMapFactory
ImmutableIntByteMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntByteMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Creates anImmutableIntByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableIntByteMapFactory.empty().of(int key, byte value) ofAll(IntByteMap map) with()Same asImmutableIntByteMapFactory.empty().with(int key, byte value) withAll(IntByteMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntByteMapFactoryImpl
public ImmutableIntByteMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableIntByteMapFactory
-
of
Description copied from interface:ImmutableIntByteMapFactorySame asImmutableIntByteMapFactory.empty().- Specified by:
ofin interfaceImmutableIntByteMapFactory
-
with
Description copied from interface:ImmutableIntByteMapFactorySame asImmutableIntByteMapFactory.empty().- Specified by:
within interfaceImmutableIntByteMapFactory
-
of
Description copied from interface:ImmutableIntByteMapFactory- Specified by:
ofin interfaceImmutableIntByteMapFactory
-
with
- Specified by:
within interfaceImmutableIntByteMapFactory
-
ofAll
Description copied from interface:ImmutableIntByteMapFactory- Specified by:
ofAllin interfaceImmutableIntByteMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntByteMapFactory
-
from
public <T> ImmutableIntByteMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Description copied from interface:ImmutableIntByteMapFactoryCreates anImmutableIntByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableIntByteMapFactory
-