com.tensegrity.composite.util
Interface CompositeHierarchyIterator


public interface CompositeHierarchyIterator

An Iterator to walk through CompositeHierarchiePaths stored in a CompositeHierarchy.

Version:
$Id: CompositeHierarchyIterator.java,v 1.2 2004/01/27 17:57:41 AndreasEbbert Exp $
Author:
MichaelKegel

Method Summary
 boolean hasNext()
          Returns true if the iteration has more elements.
 CompositeHierarchyPath next()
          Returns the next CompositeHierarchyPath in the iteration.
 

Method Detail

hasNext

public boolean hasNext()
Returns true if the iteration has more elements.

Returns:
true if the iteration has more elements.

next

public CompositeHierarchyPath next()
Returns the next CompositeHierarchyPath in the iteration.

Returns:
the next CompositeHierarchyPath in the iteration.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.