@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, waitforEachRemainingpublic LuceneCommentIterator(ApplicationUser user, CommentService commentService, org.apache.lucene.search.TopDocs hits, ManagedIndexSearcher searcher)
public Comment nextComment()
nextComment in interface CommentIteratorpublic void close()
close in interface CommentIteratorpublic int size()
CommentIteratorsize in interface CommentIteratorCopyright © 2002-2021 Atlassian. All Rights Reserved.