net.sf.jfilesync.engine
Class BasicFileTree.BasicFileIterator

java.lang.Object
  extended by net.sf.jfilesync.engine.BasicFileTree.BasicFileIterator
All Implemented Interfaces:
java.util.Iterator<BasicFile>
Enclosing class:
BasicFileTree

 class BasicFileTree.BasicFileIterator
extends java.lang.Object
implements java.util.Iterator<BasicFile>


Field Summary
private  java.util.List<BasicFile> files
           
private  int listPos
           
private  BasicFile root
           
 
Constructor Summary
BasicFileTree.BasicFileIterator(BasicFile root)
           
 
Method Summary
 boolean hasNext()
           
 BasicFile next()
           
 void remove()
           
protected  void traverseTree(BasicFile node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

private BasicFile root

files

private java.util.List<BasicFile> files

listPos

private int listPos
Constructor Detail

BasicFileTree.BasicFileIterator

public BasicFileTree.BasicFileIterator(BasicFile root)
Method Detail

traverseTree

protected void traverseTree(BasicFile node)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<BasicFile>

next

public BasicFile next()
Specified by:
next in interface java.util.Iterator<BasicFile>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<BasicFile>