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