Class ImmutableLongCharMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableLongCharMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongCharMapFactory
public class ImmutableLongCharMapFactoryImpl extends java.lang.Object implements ImmutableLongCharMapFactory
ImmutableLongCharMapFactoryImpl is a factory implementation which creates instances of typeImmutableLongCharMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongCharMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongCharMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongCharMap
empty()
<T> ImmutableLongCharMap
from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Creates anImmutableLongCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableLongCharMap
of()
Same asImmutableLongCharMapFactory.empty()
.ImmutableLongCharMap
of(long key, char value)
ImmutableLongCharMap
ofAll(LongCharMap map)
ImmutableLongCharMap
with()
Same asImmutableLongCharMapFactory.empty()
.ImmutableLongCharMap
with(long key, char value)
ImmutableLongCharMap
withAll(LongCharMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongCharMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongCharMap empty()
- Specified by:
empty
in interfaceImmutableLongCharMapFactory
-
of
public ImmutableLongCharMap of()
Description copied from interface:ImmutableLongCharMapFactory
Same asImmutableLongCharMapFactory.empty()
.- Specified by:
of
in interfaceImmutableLongCharMapFactory
-
with
public ImmutableLongCharMap with()
Description copied from interface:ImmutableLongCharMapFactory
Same asImmutableLongCharMapFactory.empty()
.- Specified by:
with
in interfaceImmutableLongCharMapFactory
-
of
public ImmutableLongCharMap of(long key, char value)
Description copied from interface:ImmutableLongCharMapFactory
- Specified by:
of
in interfaceImmutableLongCharMapFactory
-
with
public ImmutableLongCharMap with(long key, char value)
- Specified by:
with
in interfaceImmutableLongCharMapFactory
-
ofAll
public ImmutableLongCharMap ofAll(LongCharMap map)
Description copied from interface:ImmutableLongCharMapFactory
- Specified by:
ofAll
in interfaceImmutableLongCharMapFactory
-
withAll
public ImmutableLongCharMap withAll(LongCharMap map)
- Specified by:
withAll
in interfaceImmutableLongCharMapFactory
-
from
public <T> ImmutableLongCharMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Description copied from interface:ImmutableLongCharMapFactory
Creates anImmutableLongCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableLongCharMapFactory
-
-