/** Print a list of the postings to standard out */ @Override public void print() { try { int entryIndex = 0; while (this.hasNext()) { IterablePosting ip = this.next(); entryIndex += this.getEntriesSkipped(); System.out.print(entryIndex + " "); while (ip.next() != IterablePosting.EOL) { System.out.print(ip.toString()); System.out.print(" "); } System.out.println(); entryIndex++; } } catch (Exception e) { logger.error("Error during print()", e); } }