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