@Override public String toString(boolean freq){
  StringBuffer result=new StringBuffer();
  result.append(m_attribute.name() + " ");
switch (m_comparison) {
case EQUAL:
    result.append("=");
  break;
case LESS_THAN_OR_EQUAL_TO:
result.append("<=");
break;
case GREATER_THAN:
result.append(">");
break;
default :
break;
}
result.append(" " + Utils.doubleToString(m_splitPoint,4));
if (freq) {
result.append(":" + m_frequency);
}
return result.toString();
}

@ Override public String toString ( boolean freq ) { StringBuffer result = new StringBuffer ( ) ; result . append ( m_attribute . name ( ) + " " ) ; switch ( m_comparison ) { case EQUAL : result . append ( "=" ) ; break ; case LESS_THAN_OR_EQUAL_TO : result . append ( "<=" ) ; break ; case GREATER_THAN : result . append ( ">" ) ; break ; default : break ; } result . append ( " " + Utils . doubleToString ( m_splitPoint , 4 ) ) ; if ( freq ) { result . append ( ":" + m_frequency ) ; } return result . toString ( ) ; }
a string representation of this item , ( i . e . < attribute name > < comparison operator > < item value > ) . this default implementation just prints the attribute name and ( optionally ) frequency information .
