Enum Class Interval.Closure

java.lang.Object
java.lang.Enum<Interval.Closure>
com.pervasive.datarush.analytics.stats.Interval.Closure
All Implemented Interfaces:
Serializable, Comparable<Interval.Closure>, java.lang.constant.Constable
Enclosing class:
Interval<T extends Number & Comparable<? super T>>

public static enum Interval.Closure extends Enum<Interval.Closure>
Enumeration of allowed values for the "closure" attribute of the Interval element.
  • Enum Constant Details

    • openClosed

      public static final Interval.Closure openClosed
      The interval is of the form (leftMargin,rightMargin]
    • openOpen

      public static final Interval.Closure openOpen
      The interval is of the form (leftMargin,rightMargin)
    • closedOpen

      public static final Interval.Closure closedOpen
      The interval is of the form [leftMargin,rightMargin)
    • closedClosed

      public static final Interval.Closure closedClosed
      The interval is of the form [leftMargin,rightMargin]
  • Method Details

    • values

      public static Interval.Closure[] 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 Interval.Closure 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
    • closure

      public static Interval.Closure closure(boolean fromClosed, boolean toClosed)
      Returns a closure for the given parameters
      Parameters:
      fromClosed - whether the from side is closed
      toClosed - whether the to side is closed
      Returns:
      a closure