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

All Superinterfaces:
Iterator
All Known Implementing Classes:
DatabaseCommentIterator, LuceneCommentIterator

public interface CommentIterator
extends Iterator

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

See Also:
IssueIterator

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-2009 Atlassian. All Rights Reserved.