com.atlassian.jira.issue.comments.util
Interface CommentIterator

All Superinterfaces:
java.util.Iterator<Comment>
All Known Implementing Classes:
DatabaseCommentIterator, LuceneCommentIterator

public interface CommentIterator
extends java.util.Iterator<Comment>

A way of iterating over comments, without necessarily loading them all into memory.


Method Summary
 void close()
           
 Comment nextComment()
           
 int size()
          Returns the total number of comments this iterator contains.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

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.


Copyright © 2002-2011 Atlassian. All Rights Reserved.