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

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • 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: 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 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.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • FLOAT32BIT

      public static final MzmlFileIterator.Precision 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

      public static final MzmlFileIterator.Precision 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

      public static final MzmlFileIterator.Precision 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

      public static final MzmlFileIterator.Precision 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

      public static final MzmlFileIterator.Precision 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

      public static MzmlFileIterator.Precision[] 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

      public static MzmlFileIterator.Precision valueOf​(String name)
      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 name
      NullPointerException - if the argument is null