|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.gtroids.environment.QuadrantIterator
The QuadrantIterator wraps all containing Objects of a 2-dimensional Arry of Quatrants into an Iterator.
Quadrant,
FieldedArea| Constructor Summary | |
QuadrantIterator(Quadrant[][] quadrants)
Constructor for QuadrantIterator. |
|
| Method Summary | |
boolean |
hasNext()
Returns true, if the Iterator has more elements. |
java.lang.Object |
next()
Returns the next element. |
void |
remove()
Removes the current element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QuadrantIterator(Quadrant[][] quadrants)
quadrants - the Quadrants to be used for the Iterator| Method Detail |
public boolean hasNext()
hasNext in interface java.util.IteratorIterator.hasNext()public java.lang.Object next()
next in interface java.util.IteratorIterator.next()public void remove()
remove in interface java.util.IteratorIterator.remove()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||