com.tensegrity.composite
Interface BaseCompositeIterator


public interface BaseCompositeIterator

The BaseCompositeIterator interface defines an iterator that can be used to iterator over a list of BaseComposites.

Version:
$Id: BaseCompositeIterator.java,v 1.2 2003/07/14 08:49:36 MichaelKegel Exp $
Author:
MichaelKegel

Method Summary
 boolean hasNext()
          Returns a flag that indicates wheather there are more BaseComposites to iterate over or not.
 BaseComposite next()
          Returns the next BaseComposite.
 

Method Detail

hasNext

public boolean hasNext()
Returns a flag that indicates wheather there are more BaseComposites to iterate over or not.

Returns:
boolean flag that indicate if there are more BaseComposites to iterate over

next

public BaseComposite next()
Returns the next BaseComposite.

Returns:
BaseComposite the next BaseComposite


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