org.eclipse.emf.common.util
Interface TreeIterator

All Superinterfaces:
Iterator
All Known Implementing Classes:
AbstractTreeIterator

public interface TreeIterator
extends Iterator

A mechanism for iterating over all the nodes of a tree; it provides the capability to prune the iteration so that all descendants of a particular node are skipped.


Method Summary
 void prune()
          Prunes the iterator so that it skips over all the nodes below the most recent result of calling next().
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

prune

public void prune()
Prunes the iterator so that it skips over all the nodes below the most recent result of calling next().


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.