protected String attributeValuesString(Instance instance){
  StringBuffer text=new StringBuffer();
  if (m_Attributes != null) {
    m_Attributes.setUpper(instance.numAttributes() - 1);
    boolean first=true;
    for (int i=0; i < instance.numAttributes(); i++) {
      if (m_Attributes.isInRange(i) && i != instance.classIndex()) {
        if (!first) {
          text.append(m_Delimiter);
        }
        text.append(instance.toString(i));
        first=false;
      }
    }
  }
  return text.toString();
}

protected String attributeValuesString ( Instance instance ) { StringBuffer text = new StringBuffer ( ) ; if ( m_Attributes != null ) { m_Attributes . setUpper ( instance . numAttributes ( ) - 1 ) ; boolean first = true ; for ( int i = 0 ; i < instance . numAttributes ( ) ; i ++ ) { if ( m_Attributes . isInRange ( i ) && i != instance . classIndex ( ) ) { if ( ! first ) { text . append ( m_Delimiter ) ; } text . append ( instance . toString ( i ) ) ; first = false ; } } } return text . toString ( ) ; }
builds a string listing the attribute values in a specified range of indices , separated by commas and enclosed in brackets .
