Enum MutableByteDoubleMapFactoryImpl
java.lang.Object
java.lang.Enum<MutableByteDoubleMapFactoryImpl>
org.eclipse.collections.impl.map.mutable.primitive.MutableByteDoubleMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<MutableByteDoubleMapFactoryImpl>,java.lang.constant.Constable,MutableByteDoubleMapFactory
public enum MutableByteDoubleMapFactoryImpl extends Enum<MutableByteDoubleMapFactoryImpl> implements MutableByteDoubleMapFactory
MutableByteDoubleMapFactoryImpl is a factory implementation which creates instances of type
MutableByteDoubleMap.
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 MutableByteDoubleMapempty()<T> MutableByteDoubleMapfrom(Iterable<T> iterable, ByteFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)Creates anMutableByteDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableByteDoubleMapof()Same asMutableByteDoubleMapFactory.empty().MutableByteDoubleMapofAll(ByteDoubleMap map)MutableByteDoubleMapofInitialCapacity(int capacity)Same asMutableByteDoubleMapFactory.empty().static MutableByteDoubleMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static MutableByteDoubleMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.MutableByteDoubleMapwith()Same asMutableByteDoubleMapFactory.empty().MutableByteDoubleMapwithAll(ByteDoubleMap map)MutableByteDoubleMapwithInitialCapacity(int capacity)Same asMutableByteDoubleMapFactory.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 interfaceMutableByteDoubleMapFactory
-
of
Description copied from interface:MutableByteDoubleMapFactorySame asMutableByteDoubleMapFactory.empty().- Specified by:
ofin interfaceMutableByteDoubleMapFactory
-
with
Description copied from interface:MutableByteDoubleMapFactorySame asMutableByteDoubleMapFactory.empty().- Specified by:
within interfaceMutableByteDoubleMapFactory
-
ofInitialCapacity
Description copied from interface:MutableByteDoubleMapFactorySame asMutableByteDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableByteDoubleMapFactory
-
withInitialCapacity
Description copied from interface:MutableByteDoubleMapFactorySame asMutableByteDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableByteDoubleMapFactory
-
ofAll
Description copied from interface:MutableByteDoubleMapFactory- Specified by:
ofAllin interfaceMutableByteDoubleMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableByteDoubleMapFactory
-
from
public <T> MutableByteDoubleMap from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)Description copied from interface:MutableByteDoubleMapFactoryCreates anMutableByteDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableByteDoubleMapFactory
-