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