Class MutableIntCharMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableIntCharMapFactoryImpl
- All Implemented Interfaces:
MutableIntCharMapFactory
MutableIntCharMapFactoryImpl is a factory implementation which creates instances of type
MutableIntCharMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction) Creates anMutableIntCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asMutableIntCharMapFactory.empty().of(int key, char value) of(int key1, char value1, int key2, char value2) of(int key1, char value1, int key2, char value2, int key3, char value3) of(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4) ofAll(IntCharMap map) ofInitialCapacity(int capacity) Same asMutableIntCharMapFactory.empty().with()Same asMutableIntCharMapFactory.empty().with(int key, char value) with(int key1, char value1, int key2, char value2) with(int key1, char value1, int key2, char value2, int key3, char value3) with(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4) withAll(IntCharMap map) withInitialCapacity(int capacity) Same asMutableIntCharMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableIntCharMapFactoryImpl
public MutableIntCharMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableIntCharMapFactory
-
of
Description copied from interface:MutableIntCharMapFactorySame asMutableIntCharMapFactory.empty().- Specified by:
ofin interfaceMutableIntCharMapFactory
-
with
Description copied from interface:MutableIntCharMapFactorySame asMutableIntCharMapFactory.empty().- Specified by:
within interfaceMutableIntCharMapFactory
-
with
- Specified by:
within interfaceMutableIntCharMapFactory
-
of
- Specified by:
ofin interfaceMutableIntCharMapFactory
-
of
- Specified by:
ofin interfaceMutableIntCharMapFactory
-
with
- Specified by:
within interfaceMutableIntCharMapFactory
-
of
- Specified by:
ofin interfaceMutableIntCharMapFactory
-
with
- Specified by:
within interfaceMutableIntCharMapFactory
-
of
public MutableIntCharMap of(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4) - Specified by:
ofin interfaceMutableIntCharMapFactory
-
with
public MutableIntCharMap with(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4) - Specified by:
within interfaceMutableIntCharMapFactory
-
ofInitialCapacity
Description copied from interface:MutableIntCharMapFactorySame asMutableIntCharMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntCharMapFactory
-
withInitialCapacity
Description copied from interface:MutableIntCharMapFactorySame asMutableIntCharMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntCharMapFactory
-
ofAll
Description copied from interface:MutableIntCharMapFactory- Specified by:
ofAllin interfaceMutableIntCharMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableIntCharMapFactory
-
from
public <T> MutableIntCharMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction) Description copied from interface:MutableIntCharMapFactoryCreates anMutableIntCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntCharMapFactory
-