Class ImmutableLongShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableLongShortMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongShortMapFactory
public class ImmutableLongShortMapFactoryImpl extends Object implements ImmutableLongShortMapFactory
ImmutableLongShortMapFactoryImpl is a factory implementation which creates instances of typeImmutableLongShortMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongShortMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongShortMap
empty()
<T> ImmutableLongShortMap
from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
ImmutableLongShortMap
of()
ImmutableLongShortMap
of(long key, short value)
ImmutableLongShortMap
ofAll(LongShortMap map)
ImmutableLongShortMap
with()
ImmutableLongShortMap
with(long key, short value)
ImmutableLongShortMap
withAll(LongShortMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongShortMap empty()
- Specified by:
empty
in interfaceImmutableLongShortMapFactory
-
of
public ImmutableLongShortMap of()
- Specified by:
of
in interfaceImmutableLongShortMapFactory
-
with
public ImmutableLongShortMap with()
- Specified by:
with
in interfaceImmutableLongShortMapFactory
-
of
public ImmutableLongShortMap of(long key, short value)
- Specified by:
of
in interfaceImmutableLongShortMapFactory
-
with
public ImmutableLongShortMap with(long key, short value)
- Specified by:
with
in interfaceImmutableLongShortMapFactory
-
ofAll
public ImmutableLongShortMap ofAll(LongShortMap map)
- Specified by:
ofAll
in interfaceImmutableLongShortMapFactory
-
withAll
public ImmutableLongShortMap withAll(LongShortMap map)
- Specified by:
withAll
in interfaceImmutableLongShortMapFactory
-
from
public <T> ImmutableLongShortMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
- Specified by:
from
in interfaceImmutableLongShortMapFactory
-
-