Class ImmutableIntShortMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntShortMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntShortMapFactory
ImmutableIntShortMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntShortMap.
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, ShortFunction<? super T> valueFunction) Creates anImmutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableIntShortMapFactory.empty().of(int key, short value) ofAll(IntShortMap map) with()Same asImmutableIntShortMapFactory.empty().with(int key, short value) withAll(IntShortMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntShortMapFactoryImpl
public ImmutableIntShortMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableIntShortMapFactory
-
of
Description copied from interface:ImmutableIntShortMapFactorySame asImmutableIntShortMapFactory.empty().- Specified by:
ofin interfaceImmutableIntShortMapFactory
-
with
Description copied from interface:ImmutableIntShortMapFactorySame asImmutableIntShortMapFactory.empty().- Specified by:
within interfaceImmutableIntShortMapFactory
-
of
Description copied from interface:ImmutableIntShortMapFactory- Specified by:
ofin interfaceImmutableIntShortMapFactory
-
with
- Specified by:
within interfaceImmutableIntShortMapFactory
-
ofAll
Description copied from interface:ImmutableIntShortMapFactory- Specified by:
ofAllin interfaceImmutableIntShortMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntShortMapFactory
-
from
public <T> ImmutableIntShortMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Description copied from interface:ImmutableIntShortMapFactoryCreates anImmutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableIntShortMapFactory
-