Class ImmutableShortLongMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortLongMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortLongMapFactory
public class ImmutableShortLongMapFactoryImpl extends java.lang.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 ImmutableShortLongMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortLongMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortLongMap
empty()
<T> ImmutableShortLongMap
from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Creates anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableShortLongMap
of()
Same asImmutableShortLongMapFactory.empty()
.ImmutableShortLongMap
of(short key, long value)
ImmutableShortLongMap
ofAll(ShortLongMap map)
ImmutableShortLongMap
with()
Same asImmutableShortLongMapFactory.empty()
.ImmutableShortLongMap
with(short key, long value)
ImmutableShortLongMap
withAll(ShortLongMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortLongMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortLongMap empty()
- Specified by:
empty
in interfaceImmutableShortLongMapFactory
-
of
public ImmutableShortLongMap of()
Description copied from interface:ImmutableShortLongMapFactory
Same asImmutableShortLongMapFactory.empty()
.- Specified by:
of
in interfaceImmutableShortLongMapFactory
-
with
public ImmutableShortLongMap with()
Description copied from interface:ImmutableShortLongMapFactory
Same asImmutableShortLongMapFactory.empty()
.- Specified by:
with
in interfaceImmutableShortLongMapFactory
-
of
public ImmutableShortLongMap of(short key, long value)
Description copied from interface:ImmutableShortLongMapFactory
- Specified by:
of
in interfaceImmutableShortLongMapFactory
-
with
public ImmutableShortLongMap with(short key, long value)
- Specified by:
with
in interfaceImmutableShortLongMapFactory
-
ofAll
public ImmutableShortLongMap ofAll(ShortLongMap map)
Description copied from interface:ImmutableShortLongMapFactory
- Specified by:
ofAll
in interfaceImmutableShortLongMapFactory
-
withAll
public ImmutableShortLongMap withAll(ShortLongMap map)
- Specified by:
withAll
in interfaceImmutableShortLongMapFactory
-
from
public <T> ImmutableShortLongMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Description copied from interface:ImmutableShortLongMapFactory
Creates anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableShortLongMapFactory
-
-