Class ImmutableLongShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableLongShortMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongShortMapFactory
public class ImmutableLongShortMapFactoryImpl extends java.lang.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(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableLongShortMap
of()
Same asImmutableLongShortMapFactory.empty()
.ImmutableLongShortMap
of(long key, short value)
ImmutableLongShortMap
ofAll(LongShortMap map)
ImmutableLongShortMap
with()
Same asImmutableLongShortMapFactory.empty()
.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()
Description copied from interface:ImmutableLongShortMapFactory
Same asImmutableLongShortMapFactory.empty()
.- Specified by:
of
in interfaceImmutableLongShortMapFactory
-
with
public ImmutableLongShortMap with()
Description copied from interface:ImmutableLongShortMapFactory
Same asImmutableLongShortMapFactory.empty()
.- Specified by:
with
in interfaceImmutableLongShortMapFactory
-
of
public ImmutableLongShortMap of(long key, short value)
Description copied from interface:ImmutableLongShortMapFactory
- Specified by:
of
in interfaceImmutableLongShortMapFactory
-
with
public ImmutableLongShortMap with(long key, short value)
- Specified by:
with
in interfaceImmutableLongShortMapFactory
-
ofAll
public ImmutableLongShortMap ofAll(LongShortMap map)
Description copied from interface:ImmutableLongShortMapFactory
- Specified by:
ofAll
in interfaceImmutableLongShortMapFactory
-
withAll
public ImmutableLongShortMap withAll(LongShortMap map)
- Specified by:
withAll
in interfaceImmutableLongShortMapFactory
-
from
public <T> ImmutableLongShortMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Description copied from interface:ImmutableLongShortMapFactory
Creates anImmutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableLongShortMapFactory
-
-