code: 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();
    }
docs: Get the SAX string of this whole collection.
  
  @param separatorToken The separator token to use for the string.
  
  @return The whole data as a string.