code: public void excludePositions(ArrayList<Integer> positions) {
      for (Integer p : positions) {
        if (realTSindex.containsKey(p)) {
          SAXRecord rec = realTSindex.get(p);
          rec.removeIndex(p);
          if (rec.getIndexes().isEmpty()) {
            this.records.remove(String.valueOf(rec.getPayload()));
          }
          realTSindex.remove(p);
        }
      }
    }
docs: Removes saxRecord occurrences that correspond to these positions.
  
  @param positions The positions to clear.