@NotThreadSafe public final class LuceneCommentIterator extends Object implements CommentIterator
Constructor and Description |
---|
LuceneCommentIterator(ApplicationUser user,
CommentService commentService,
org.apache.lucene.search.TopDocs hits,
ManagedIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
Comment |
next() |
Comment |
nextComment() |
void |
remove() |
int |
size()
Returns the total number of comments this iterator contains.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public LuceneCommentIterator(ApplicationUser user, CommentService commentService, org.apache.lucene.search.TopDocs hits, ManagedIndexSearcher searcher)
public Comment nextComment()
nextComment
in interface CommentIterator
public void close()
close
in interface CommentIterator
public int size()
CommentIterator
size
in interface CommentIterator
Copyright © 2002-2021 Atlassian. All Rights Reserved.