com.tensegrity.composite
Interface PrimitiveIterator


public interface PrimitiveIterator

The PrimitiveIterator interface defines an iterator that can be used to iterator over a list of Primitives.

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

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

Method Detail

hasNext

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

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

next

public Primitive next()
Returns the next Primitive.

Returns:
Primitive the next Primitive


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