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