Interface CommentIterator

All Superinterfaces:
Iterator<Comment>
All Known Implementing Classes:
DefaultCommentIterator, LuceneCommentIterator

@PublicApi public interface CommentIterator extends Iterator<Comment>
A way of iterating over comments, without necessarily loading them all into memory.
  • Method Details

    • nextComment

      Comment nextComment()
    • close

      void close()
    • size

      int size()
      Returns the total number of comments this iterator contains.
      Returns:
      the total number of comments this iterator contains.