@Override public String toString(){
  StringBuffer buffer=new StringBuffer();
  if (terms.size() > 0) {
    buffer.append("if ");
    boolean firstTerm=true;
    for (    SplitCondition condition : terms) {
      if (!firstTerm) {
        buffer.append(" and ");
      }
      buffer.append(condition.toString());
      firstTerm=false;
    }
    buffer.append(" then ");
  }
 else {
    buffer.append("else ");
  }
  buffer.append(labelName);
  if (frequencies != null) {
    buffer.append("  (");
    for (int i=0; i < frequencies.length; i++) {
      if (i != 0) {
        buffer.append(" / ");
      }
      buffer.append(frequencies[i]);
    }
    buffer.append(")");
  }
  return buffer.toString();
}

@ Override public String toString ( ) { StringBuffer buffer = new StringBuffer ( ) ; if ( terms . size ( ) > 0 ) { buffer . append ( "if " ) ; boolean firstTerm = true ; for ( SplitCondition condition : terms ) { if ( ! firstTerm ) { buffer . append ( " and " ) ; } buffer . append ( condition . toString ( ) ) ; firstTerm = false ; } buffer . append ( " then " ) ; } else { buffer . append ( "else " ) ; } buffer . append ( labelName ) ; if ( frequencies != null ) { buffer . append ( "  (" ) ; for ( int i = 0 ; i < frequencies . length ; i ++ ) { if ( i != 0 ) { buffer . append ( " / " ) ; } buffer . append ( frequencies [ i ] ) ; } buffer . append ( ")" ) ; } return buffer . toString ( ) ; }
this method returns a string representation of this rule .
