Class ImmutableIntShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntShortMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntShortMapFactory
public class ImmutableIntShortMapFactoryImpl extends java.lang.Object implements ImmutableIntShortMapFactory
ImmutableIntShortMapFactoryImpl is a factory implementation which creates instances of typeImmutableIntShortMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntShortMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntShortMapempty()<T> ImmutableIntShortMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anImmutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntShortMapof()Same asImmutableIntShortMapFactory.empty().ImmutableIntShortMapof(int key, short value)ImmutableIntShortMapofAll(IntShortMap map)ImmutableIntShortMapwith()Same asImmutableIntShortMapFactory.empty().ImmutableIntShortMapwith(int key, short value)ImmutableIntShortMapwithAll(IntShortMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntShortMap empty()
- Specified by:
emptyin interfaceImmutableIntShortMapFactory
-
of
public ImmutableIntShortMap of()
Description copied from interface:ImmutableIntShortMapFactorySame asImmutableIntShortMapFactory.empty().- Specified by:
ofin interfaceImmutableIntShortMapFactory
-
with
public ImmutableIntShortMap with()
Description copied from interface:ImmutableIntShortMapFactorySame asImmutableIntShortMapFactory.empty().- Specified by:
within interfaceImmutableIntShortMapFactory
-
of
public ImmutableIntShortMap of(int key, short value)
Description copied from interface:ImmutableIntShortMapFactory- Specified by:
ofin interfaceImmutableIntShortMapFactory
-
with
public ImmutableIntShortMap with(int key, short value)
- Specified by:
within interfaceImmutableIntShortMapFactory
-
ofAll
public ImmutableIntShortMap ofAll(IntShortMap map)
Description copied from interface:ImmutableIntShortMapFactory- Specified by:
ofAllin interfaceImmutableIntShortMapFactory
-
withAll
public ImmutableIntShortMap withAll(IntShortMap map)
- Specified by:
withAllin interfaceImmutableIntShortMapFactory
-
from
public <T> ImmutableIntShortMap from(java.lang.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
-
-