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
The supported precision types for the binary data as defined in the mzML
specifications and the PSI-MS ontology.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCorresponds to the PSI-MS ontology term "MS:1000521" / "32-bit float" and binary data will be represented in the Java primitive: floatCorresponds to the PSI-MS ontology term "MS:1000523" / "64-bit float" and binary data will be represented in the Java primitive: doubleCorresponds to the PSI-MS ontology term "MS:1000519" / "32-bit integer" and binary data will be represented in the Java primitive: intCorresponds to the PSI-MS ontology term "MS:1000522" / "64-bit integer" and binary data will be represented in the Java primitive: longCorresponds 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 TypeMethodDescriptionstatic MzmlFileIterator.PrecisionReturns 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
-