public static Filter createFilterFromArguments(ArrayList<byte[]> filterArguments) {
    @SuppressWarnings("rawtypes") // for arguments
    ArrayList arguments = CompareFilter.extractArguments(filterArguments);
    CompareOperator compareOp = (CompareOperator) arguments.get(0);
    ByteArrayComparable comparator = (ByteArrayComparable) arguments.get(1);
    return new ValueFilter(compareOp, comparator);
  }
Constructor.
@param valueCompareOp  the compare op for value matching
@param valueComparator the comparator for value matching
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ValueFilter.java