Class ImmutableShortShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortShortMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortShortMapFactory
public class ImmutableShortShortMapFactoryImpl extends java.lang.Object implements ImmutableShortShortMapFactory
ImmutableShortShortMapFactoryImpl is a factory implementation which creates instances of typeImmutableShortShortMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortShortMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortShortMapempty()<T> ImmutableShortShortMapfrom(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anImmutableShortShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortShortMapof()ImmutableShortShortMapof(short key, short value)ImmutableShortShortMapofAll(ShortShortMap map)ImmutableShortShortMapwith()ImmutableShortShortMapwith(short key, short value)ImmutableShortShortMapwithAll(ShortShortMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortShortMap empty()
- Specified by:
emptyin interfaceImmutableShortShortMapFactory
-
of
public ImmutableShortShortMap of()
Description copied from interface:ImmutableShortShortMapFactory- Specified by:
ofin interfaceImmutableShortShortMapFactory
-
with
public ImmutableShortShortMap with()
Description copied from interface:ImmutableShortShortMapFactory- Specified by:
within interfaceImmutableShortShortMapFactory
-
of
public ImmutableShortShortMap of(short key, short value)
Description copied from interface:ImmutableShortShortMapFactory- Specified by:
ofin interfaceImmutableShortShortMapFactory
-
with
public ImmutableShortShortMap with(short key, short value)
- Specified by:
within interfaceImmutableShortShortMapFactory
-
ofAll
public ImmutableShortShortMap ofAll(ShortShortMap map)
Description copied from interface:ImmutableShortShortMapFactory- Specified by:
ofAllin interfaceImmutableShortShortMapFactory
-
withAll
public ImmutableShortShortMap withAll(ShortShortMap map)
- Specified by:
withAllin interfaceImmutableShortShortMapFactory
-
from
public <T> ImmutableShortShortMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Description copied from interface:ImmutableShortShortMapFactoryCreates anImmutableShortShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableShortShortMapFactory
-
-