|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.statcvs.model.FilesRevisionIterator
Provides access to all revisions inside a list of CvsFile objects.
Instances of this class are returned by
CvsContent.getRevisionIterator().
The revisions are not in any particular order. You might use a
RevisionSortIterator to sort the revisions, or a
RevisionFilterIterator to filter by user, directory,
date range...
| Constructor Summary | |
FilesRevisionIterator(java.util.Collection repositoryFiles)
Creates a new RevisionIterator which provides access to all
revisions in the collection of CvsFile objects. |
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FilesRevisionIterator(java.util.Collection repositoryFiles)
RevisionIterator which provides access to all
revisions in the collection of CvsFile objects.
repositoryFiles - a collection of CvsFile objects| Method Detail |
public boolean hasNext()
RevisionIterator
hasNext in interface RevisionIteratorTrue, if there are more revisionsRevisionIterator.hasNext()public CvsRevision next()
RevisionIteratorNoSuchElementException is thrown.
next in interface RevisionIteratorRevisionIterator.next()public void reset()
RevisionIterator
reset in interface RevisionIteratorRevisionIterator.reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||