com.phoenixst.plexus.util
Class TraverserNodeIteratorAdapter
java.lang.Object
  
com.phoenixst.plexus.util.TraverserNodeIteratorAdapter
- All Implemented Interfaces: 
 - Iterator
 
public class TraverserNodeIteratorAdapter
- extends Object
- implements Iterator
  
This class wraps a Traverser, presenting an
  Iterator over the accessed nodes.  The only real use
  of this class is to hide the Traverser's
  get/removeEdge() methods.
- Since:
 
  - 1.0
 
- Version:
 
  - $Revision: 1.5 $
 
- Author:
 
  - Ray A. Conner
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TraverserNodeIteratorAdapter
public TraverserNodeIteratorAdapter(Traverser t)
- Creates a new 
TraverserNodeIteratorAdapter.
 
hasNext
public boolean hasNext()
- Specified by:
 hasNext in interface Iterator
 
 
next
public Object next()
- Specified by:
 next in interface Iterator
 
 
remove
public void remove()
- Specified by:
 remove in interface Iterator
 
 
See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others.  All Rights Reserved.  Use is subject to license terms.