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