net.sf.bloof.scm
Interface ScmRevisionIterator

All Known Implementing Classes:
RevisionIterator

public interface ScmRevisionIterator

Interface for an iterator over all revision of the software project

Version:
$Id: ScmRevisionIterator.java,v 1.5 2003/05/31 01:29:10 pekacki Exp $
Author:
Lukasz Pekacki

Method Summary
 ScmRevision getNext()
          Iterates to the next revision an returnes it if not next revsion exists, return null
 boolean hasNext()
          Returns if further revisions exits.
 

Method Detail

hasNext

public boolean hasNext()
Returns if further revisions exits.

Returns:
boolean true if another revison exists, false if not

getNext

public ScmRevision getNext()
Iterates to the next revision an returnes it if not next revsion exists, return null

Returns:
ScmRevision fetch next revision, or null, if no further revision exisits


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.