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

All Superinterfaces:
Iterator<Comment>
All Known Implementing Classes:
LuceneCommentIterator

@PublicApi
public interface CommentIterator
extends 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-2013 Atlassian. All Rights Reserved.