Пример #1
0
  public static String[] getNumericOperators() {
    String[] ops = new String[6];

    ops[0] = ComparisonType.EQUAL.toString();
    ops[1] = ComparisonType.NOT_EQUAL.toString();
    ops[2] = ComparisonType.GREATER_THAN.toString();
    ops[3] = ComparisonType.GREATER_THAN_OR_EQUAL.toString();
    ops[4] = ComparisonType.LESS_THAN.toString();
    ops[5] = ComparisonType.LESS_THAN_OR_EQUAL.toString();

    return ops;
  }
Пример #2
0
  public static String[] getAllOperators() {
    String[] ops = new String[8];

    ops[0] = ComparisonType.EQUAL.toString();
    ops[1] = ComparisonType.NOT_EQUAL.toString();
    ops[2] = ComparisonType.GREATER_THAN.toString();
    ops[3] = ComparisonType.GREATER_THAN_OR_EQUAL.toString();
    ops[4] = ComparisonType.LESS_THAN.toString();
    ops[5] = ComparisonType.LESS_THAN_OR_EQUAL.toString();
    ops[6] = ComparisonType.SUBSTRING.toString();
    ops[7] = ComparisonType.REGEX.toString();

    return ops;
  }