Class ImmutableShortLongMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortLongMapFactoryImpl
- All Implemented Interfaces:
ImmutableShortLongMapFactory
public class ImmutableShortLongMapFactoryImpl
extends Object
implements ImmutableShortLongMapFactory
ImmutableShortLongMapFactoryImpl is a factory implementation which creates instances of type
ImmutableShortLongMap.
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, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableShortLongMapFactory.empty().of(short key, long value) ofAll(ShortLongMap map) with()Same asImmutableShortLongMapFactory.empty().with(short key, long value) withAll(ShortLongMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableShortLongMapFactoryImpl
public ImmutableShortLongMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableShortLongMapFactory
-
of
Description copied from interface:ImmutableShortLongMapFactorySame asImmutableShortLongMapFactory.empty().- Specified by:
ofin interfaceImmutableShortLongMapFactory
-
with
Description copied from interface:ImmutableShortLongMapFactorySame asImmutableShortLongMapFactory.empty().- Specified by:
within interfaceImmutableShortLongMapFactory
-
of
Description copied from interface:ImmutableShortLongMapFactory- Specified by:
ofin interfaceImmutableShortLongMapFactory
-
with
- Specified by:
within interfaceImmutableShortLongMapFactory
-
ofAll
Description copied from interface:ImmutableShortLongMapFactory- Specified by:
ofAllin interfaceImmutableShortLongMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableShortLongMapFactory
-
from
public <T> ImmutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Description copied from interface:ImmutableShortLongMapFactoryCreates anImmutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableShortLongMapFactory
-