net.sf.statcvs.model
Interface RevisionIterator

All Known Implementing Classes:
FilesRevisionIterator, ListRevisionIterator, RevisionFilterIterator, RevisionLimitIterator, RevisionSortIterator

public interface RevisionIterator

An interface which provides an iterative access to the underlying model structure.

Version:
$Id: RevisionIterator.java,v 1.12 2003/03/18 10:33:55 lukasz Exp $
Author:
Manuel Schulze

Method Summary
 boolean hasNext()
          Returns true if this iteration has more elements.
 CvsRevision next()
          Returns the next cvs revision or otherwise a NoSuchElementException is thrown.
 void reset()
          Resets this iteration to the first element.
 

Method Detail

hasNext

boolean hasNext()
Returns true if this iteration has more elements.

Returns:
True, if there are more revisions

next

CvsRevision next()
Returns the next cvs revision or otherwise a NoSuchElementException is thrown.

Returns:
The next revision

reset

void reset()
Resets this iteration to the first element.