public String getSAXString ( String separatorToken ) { StringBuffer sb = new StringBuffer ( ) ; ArrayList < Integer > index = new ArrayList < Integer > ( ) ; index . addAll ( this . realTSindex . keySet ( ) ) ; Collections . sort ( index , new Comparator < Integer > ( ) { public int compare ( Integer int1 , Integer int2 ) { return int1 . compareTo ( int2 ) ; } } ) ; for ( int i : index ) { sb . append ( this . realTSindex . get ( i ) . getPayload ( ) ) . append ( separatorToken ) ; } return sb . toString ( ) ; }
Get the SAX string of this whole collection .