Enum MutableCharShortMapFactoryImpl
java.lang.Object
java.lang.Enum<MutableCharShortMapFactoryImpl>
org.eclipse.collections.impl.map.mutable.primitive.MutableCharShortMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<MutableCharShortMapFactoryImpl>,java.lang.constant.Constable,MutableCharShortMapFactory
public enum MutableCharShortMapFactoryImpl extends Enum<MutableCharShortMapFactoryImpl> implements MutableCharShortMapFactory
MutableCharShortMapFactoryImpl is a factory implementation which creates instances of type
MutableCharShortMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description MutableCharShortMapempty()<T> MutableCharShortMapfrom(Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableCharShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableCharShortMapof()Same asMutableCharShortMapFactory.empty().MutableCharShortMapofAll(CharShortMap map)MutableCharShortMapofInitialCapacity(int capacity)Same asMutableCharShortMapFactory.empty().static MutableCharShortMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static MutableCharShortMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.MutableCharShortMapwith()Same asMutableCharShortMapFactory.empty().MutableCharShortMapwithAll(CharShortMap map)MutableCharShortMapwithInitialCapacity(int capacity)Same asMutableCharShortMapFactory.empty().Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
empty
- Specified by:
emptyin interfaceMutableCharShortMapFactory
-
of
Description copied from interface:MutableCharShortMapFactorySame asMutableCharShortMapFactory.empty().- Specified by:
ofin interfaceMutableCharShortMapFactory
-
with
Description copied from interface:MutableCharShortMapFactorySame asMutableCharShortMapFactory.empty().- Specified by:
within interfaceMutableCharShortMapFactory
-
ofInitialCapacity
Description copied from interface:MutableCharShortMapFactorySame asMutableCharShortMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableCharShortMapFactory
-
withInitialCapacity
Description copied from interface:MutableCharShortMapFactorySame asMutableCharShortMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableCharShortMapFactory
-
ofAll
Description copied from interface:MutableCharShortMapFactory- Specified by:
ofAllin interfaceMutableCharShortMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableCharShortMapFactory
-
from
public <T> MutableCharShortMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Description copied from interface:MutableCharShortMapFactoryCreates anMutableCharShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableCharShortMapFactory
-