public String toString(){
  if (operator == NOT_OPERATOR) {
    return "(!" + operands.get(0) + ")";
  }
  final StringBuffer buffer=new StringBuffer(operator == AND_OPERATOR ? "(&" : "(|");
  final Filter[] operandArray=operands.toArray(new Filter[operands.size()]);
  for (int i=0; i < operandArray.length; i++) {
    buffer.append(operandArray[i]);
  }
  buffer.append(")");
  return buffer.toString();
}

public String toString ( ) { if ( operator == NOT_OPERATOR ) { return "(!" + operands . get ( 0 ) + ")" ; } final StringBuffer buffer = new StringBuffer ( operator == AND_OPERATOR ? "(&" : "(|" ) ; final Filter [ ] operandArray = operands . toArray ( new Filter [ operands . size ( ) ] ) ; for ( int i = 0 ; i < operandArray . length ; i ++ ) { buffer . append ( operandArray [ i ] ) ; } buffer . append ( ")" ) ; return buffer . toString ( ) ; }
get a string representation of the filter .
