コード例 #1
0
  public static String[] getStringOperators() {
    String[] ops = new String[2];

    ops[0] = ComparisonType.SUBSTRING.toString();
    ops[1] = ComparisonType.REGEX.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;
  }