Enum MovingSum.Interval

java.lang.Object
java.lang.Enum<MovingSum.Interval>
org.rapidcontext.core.data.stat.MovingSum.Interval
All Implemented Interfaces:
Serializable, Comparable<MovingSum.Interval>
Enclosing class:
MovingSum

public static enum MovingSum.Interval extends Enum<MovingSum.Interval>
The predefined time intervals.
  • Enum Constant Details

  • Field Details

    • millis

      public final long millis
      The interval length in milliseconds.
  • Method Details

    • values

      public static MovingSum.Interval[] 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 MovingSum.Interval 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