예제 #1
0
  public static SearchOperator valueBySymbol(String symbol) throws SearchException {
    symbol = formatSymbol(symbol);
    for (SearchOperator operator : values()) {
      if (operator.getSymbol().equals(symbol)) {
        return operator;
      }
    }

    throw new SearchException("SearchOperator not method search operator symbol : " + symbol);
  }
예제 #2
0
 public static String toStringAllOperator() {
   return Arrays.toString(SearchOperator.values());
 }