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 typeImmutableShortLongMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortLongMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortLongMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortLongMapempty()<T> ImmutableShortLongMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)ImmutableShortLongMapof()ImmutableShortLongMapof(short key, long value)ImmutableShortLongMapofAll(ShortLongMap map)ImmutableShortLongMapwith()ImmutableShortLongMapwith(short key, long value)ImmutableShortLongMapwithAll(ShortLongMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortLongMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortLongMap empty()
- Specified by:
emptyin interfaceImmutableShortLongMapFactory
-
of
public ImmutableShortLongMap of()
- Specified by:
ofin interfaceImmutableShortLongMapFactory
-
with
public ImmutableShortLongMap with()
- Specified by:
within interfaceImmutableShortLongMapFactory
-
of
public ImmutableShortLongMap of(short key, long value)
- Specified by:
ofin interfaceImmutableShortLongMapFactory
-
with
public ImmutableShortLongMap with(short key, long value)
- Specified by:
within interfaceImmutableShortLongMapFactory
-
ofAll
public ImmutableShortLongMap ofAll(ShortLongMap map)
- Specified by:
ofAllin interfaceImmutableShortLongMapFactory
-
withAll
public ImmutableShortLongMap withAll(ShortLongMap map)
- Specified by:
withAllin interfaceImmutableShortLongMapFactory
-
from
public <T> ImmutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
- Specified by:
fromin interfaceImmutableShortLongMapFactory
-
-