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