Enum LipidLevel

  • All Implemented Interfaces:
    Serializable, Comparable<LipidLevel>

    public enum LipidLevel
    extends Enum<LipidLevel>
    Defines the taxonomy of lipid levels, including UNDEFINED for lipids where the level can not be inferred or does not apply. The levels are based on
    Liebisch, G., Vizcaíno,
     J.A., Köfeler, H., Trötzmüller, M., Griffiths, W.J., Schmitz, G., Spener, F.,
     and Wakelam, M.J.O. (2013). Shorthand notation for lipid structures derived
     from mass spectrometry. J. Lipid Res. 54, 1523–1530.
    Author:
    nils.hoffmann
    • Method Detail

      • values

        public static LipidLevel[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LipidLevel c : LipidLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LipidLevel 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