Class ImmutableByteShortMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableByteShortMapFactoryImpl
- All Implemented Interfaces:
ImmutableByteShortMapFactory
public class ImmutableByteShortMapFactoryImpl
extends Object
implements ImmutableByteShortMapFactory
ImmutableByteShortMapFactoryImpl is a factory implementation which creates instances of type
ImmutableByteShortMap.
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, ByteFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anImmutableByteShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableByteShortMapFactory.empty().of(byte key, short value) ofAll(ByteShortMap map) with()Same asImmutableByteShortMapFactory.empty().with(byte key, short value) withAll(ByteShortMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableByteShortMapFactoryImpl
public ImmutableByteShortMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableByteShortMapFactory
-
of
Description copied from interface:ImmutableByteShortMapFactorySame asImmutableByteShortMapFactory.empty().- Specified by:
ofin interfaceImmutableByteShortMapFactory
-
with
Description copied from interface:ImmutableByteShortMapFactorySame asImmutableByteShortMapFactory.empty().- Specified by:
within interfaceImmutableByteShortMapFactory
-
of
Description copied from interface:ImmutableByteShortMapFactory- Specified by:
ofin interfaceImmutableByteShortMapFactory
-
with
- Specified by:
within interfaceImmutableByteShortMapFactory
-
ofAll
Description copied from interface:ImmutableByteShortMapFactory- Specified by:
ofAllin interfaceImmutableByteShortMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableByteShortMapFactory
-
from
public <T> ImmutableByteShortMap from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Description copied from interface:ImmutableByteShortMapFactoryCreates anImmutableByteShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableByteShortMapFactory
-