Enum MzmlFileIterator.Precision
java.lang.Object
java.lang.Enum<MzmlFileIterator.Precision>
com.compomics.util.experiment.io.mass_spectrometry.mzml.MzmlFileIterator.Precision
- All Implemented Interfaces:
Serializable
,Comparable<MzmlFileIterator.Precision>
,java.lang.constant.Constable
- Enclosing class:
- MzmlFileIterator
public static enum MzmlFileIterator.Precision extends Enum<MzmlFileIterator.Precision>
The supported precision types for the binary data as defined in the mzML
specifications and the PSI-MS ontology.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOAT32BIT
Corresponds to the PSI-MS ontology term "MS:1000521" / "32-bit float" and binary data will be represented in the Java primitive: floatFLOAT64BIT
Corresponds to the PSI-MS ontology term "MS:1000523" / "64-bit float" and binary data will be represented in the Java primitive: doubleINT32BIT
Corresponds to the PSI-MS ontology term "MS:1000519" / "32-bit integer" and binary data will be represented in the Java primitive: intINT64BIT
Corresponds to the PSI-MS ontology term "MS:1000522" / "64-bit integer" and binary data will be represented in the Java primitive: longNTSTRING
Corresponds to the PSI-MS ontology term "MS:1001479" / "null-terminated ASCII string" and binary data will be represented in the Java type: String -
Method Summary
Modifier and Type Method Description static MzmlFileIterator.Precision
valueOf(String name)
Returns the enum constant of this type with the specified name.static MzmlFileIterator.Precision[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FLOAT32BIT
Corresponds to the PSI-MS ontology term "MS:1000521" / "32-bit float" and binary data will be represented in the Java primitive: float -
FLOAT64BIT
Corresponds to the PSI-MS ontology term "MS:1000523" / "64-bit float" and binary data will be represented in the Java primitive: double -
INT32BIT
Corresponds to the PSI-MS ontology term "MS:1000519" / "32-bit integer" and binary data will be represented in the Java primitive: int -
INT64BIT
Corresponds to the PSI-MS ontology term "MS:1000522" / "64-bit integer" and binary data will be represented in the Java primitive: long -
NTSTRING
Corresponds to the PSI-MS ontology term "MS:1001479" / "null-terminated ASCII string" and binary data will be represented in the Java type: String
-
-
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
-