Enum MutableLongShortMapFactoryImpl
java.lang.Object
java.lang.Enum<MutableLongShortMapFactoryImpl>
org.eclipse.collections.impl.map.mutable.primitive.MutableLongShortMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<MutableLongShortMapFactoryImpl>,java.lang.constant.Constable,MutableLongShortMapFactory
public enum MutableLongShortMapFactoryImpl extends Enum<MutableLongShortMapFactoryImpl> implements MutableLongShortMapFactory
MutableLongShortMapFactoryImpl is a factory implementation which creates instances of type
MutableLongShortMap.
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 MutableLongShortMapempty()<T> MutableLongShortMapfrom(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongShortMapof()Same asMutableLongShortMapFactory.empty().MutableLongShortMapofAll(LongShortMap map)MutableLongShortMapofInitialCapacity(int capacity)Same asMutableLongShortMapFactory.empty().static MutableLongShortMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static MutableLongShortMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.MutableLongShortMapwith()Same asMutableLongShortMapFactory.empty().MutableLongShortMapwithAll(LongShortMap map)MutableLongShortMapwithInitialCapacity(int capacity)Same asMutableLongShortMapFactory.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 interfaceMutableLongShortMapFactory
-
of
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty().- Specified by:
ofin interfaceMutableLongShortMapFactory
-
with
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty().- Specified by:
within interfaceMutableLongShortMapFactory
-
ofInitialCapacity
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableLongShortMapFactory
-
withInitialCapacity
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongShortMapFactory
-
ofAll
Description copied from interface:MutableLongShortMapFactory- Specified by:
ofAllin interfaceMutableLongShortMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableLongShortMapFactory
-
from
public <T> MutableLongShortMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Description copied from interface:MutableLongShortMapFactoryCreates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableLongShortMapFactory
-