code: public void addAll(SAXRecords records) {
      for (SAXRecord record : records) {
        char[] payload = record.getPayload();
        for (Integer i : record.getIndexes()) {
          this.add(payload, i);
        }
      }
    }
docs: Adds all entries from the collection.
  
  @param records The collection.