Class ImmutableShortIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortIntMapFactory
public class ImmutableShortIntMapFactoryImpl extends Object implements ImmutableShortIntMapFactory
ImmutableShortIntMapFactoryImpl is a factory implementation which creates instances of typeImmutableShortIntMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortIntMapempty()<T> ImmutableShortIntMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)ImmutableShortIntMapof()ImmutableShortIntMapof(short key, int value)ImmutableShortIntMapofAll(ShortIntMap map)ImmutableShortIntMapwith()ImmutableShortIntMapwith(short key, int value)ImmutableShortIntMapwithAll(ShortIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortIntMap empty()
- Specified by:
emptyin interfaceImmutableShortIntMapFactory
-
of
public ImmutableShortIntMap of()
- Specified by:
ofin interfaceImmutableShortIntMapFactory
-
with
public ImmutableShortIntMap with()
- Specified by:
within interfaceImmutableShortIntMapFactory
-
of
public ImmutableShortIntMap of(short key, int value)
- Specified by:
ofin interfaceImmutableShortIntMapFactory
-
with
public ImmutableShortIntMap with(short key, int value)
- Specified by:
within interfaceImmutableShortIntMapFactory
-
ofAll
public ImmutableShortIntMap ofAll(ShortIntMap map)
- Specified by:
ofAllin interfaceImmutableShortIntMapFactory
-
withAll
public ImmutableShortIntMap withAll(ShortIntMap map)
- Specified by:
withAllin interfaceImmutableShortIntMapFactory
-
from
public <T> ImmutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
- Specified by:
fromin interfaceImmutableShortIntMapFactory
-
-