Enum Class TrendMode

java.lang.Object
java.lang.Enum<TrendMode>
com.framed.cdss.utils.TrendMode
All Implemented Interfaces:
Serializable, Comparable<TrendMode>, Constable

public enum TrendMode extends Enum<TrendMode>
Enumerates the mode of tends conditions supported:
  • MEAN_STEP_DIFF: The trend is measured by the mean difference between observed data points.
  • REGRESSION_SLOPE: The trend is measured by the best fitting slope (regression).
  • Enum Constant Details

    • MEAN_STEP_DIFF

      public static final TrendMode MEAN_STEP_DIFF
    • REGRESSION_SLOPE

      public static final TrendMode REGRESSION_SLOPE
  • Method Details

    • values

      public static TrendMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TrendMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null