Enum Class FilterOperator

java.lang.Object
java.lang.Enum<FilterOperator>
io.keikai.axyra.sheets.FilterOperator
All Implemented Interfaces:
Serializable, Comparable<FilterOperator>, Constable

public enum FilterOperator extends Enum<FilterOperator>
Comparison operator for a custom auto-filter condition.
  • Enum Constant Details

    • EQUAL

      public static final FilterOperator EQUAL
      The cell equals the value (=).
    • NOT_EQUAL

      public static final FilterOperator NOT_EQUAL
      The cell does not equal the value (<>).
    • GREATER_THAN

      public static final FilterOperator GREATER_THAN
      The cell is greater than the value (>).
    • GREATER_THAN_OR_EQUAL

      public static final FilterOperator GREATER_THAN_OR_EQUAL
      The cell is greater than or equal to the value (>=).
    • LESS_THAN

      public static final FilterOperator LESS_THAN
      The cell is less than the value (<).
    • LESS_THAN_OR_EQUAL

      public static final FilterOperator LESS_THAN_OR_EQUAL
      The cell is less than or equal to the value (<=).
  • Method Details

    • values

      public static FilterOperator[] 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 FilterOperator 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
    • code

      public int code()
      Returns the engine's operator code, 0 to 5 in declaration order.