|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.comments.util.LuceneCommentIterator
@NotThreadSafe public final class LuceneCommentIterator
This class iterates across a series of comment hits from the comment index.
Constructor Summary | |
---|---|
LuceneCommentIterator(com.opensymphony.user.User user,
CommentService commentService,
org.apache.lucene.search.Hits hits)
|
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
|
Comment |
next()
|
Comment |
nextComment()
|
void |
remove()
|
int |
size()
Returns the total number of comments this iterator contains. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LuceneCommentIterator(com.opensymphony.user.User user, CommentService commentService, org.apache.lucene.search.Hits hits)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Comment>
public Comment nextComment()
nextComment
in interface CommentIterator
public void close()
close
in interface CommentIterator
public Comment next()
next
in interface java.util.Iterator<Comment>
public void remove()
remove
in interface java.util.Iterator<Comment>
public int size()
CommentIterator
size
in interface CommentIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |