net.walend.grid
Class AbstractArrayGrid2D.AddressIterator

java.lang.Object
  |
  +--net.walend.grid.AbstractArrayGrid2D.AddressIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
AbstractArrayGrid2D

private class AbstractArrayGrid2D.AddressIterator
extends java.lang.Object
implements java.util.Iterator


Field Summary
private  int i
           
private  int j
           
private  boolean nextCalled
           
 
Constructor Summary
private AbstractArrayGrid2D.AddressIterator()
           
 
Method Summary
private  void checkState()
           
 boolean hasNext()
           
 java.lang.Object next()
           
protected  boolean nextCalled()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

private int i

j

private int j

nextCalled

private boolean nextCalled
Constructor Detail

AbstractArrayGrid2D.AddressIterator

private AbstractArrayGrid2D.AddressIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

checkState

private void checkState()

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

nextCalled

protected boolean nextCalled()


Copyright (c) 2001, 2002, David Walend