org.nuiton.util
Class MatrixMap.MatrixIterator<E>
java.lang.Object
org.nuiton.util.MatrixMap.MatrixIterator<E>
- All Implemented Interfaces:
- Iterator<E>
- Enclosing interface:
- MatrixMap<E>
public static class MatrixMap.MatrixIterator<E>
- extends Object
- implements Iterator<E>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matrix
protected MatrixMap.Matrix<E> matrix
pos
protected int pos
MatrixMap.MatrixIterator
public MatrixMap.MatrixIterator(MatrixMap.Matrix<E> matrix)
- Parameters:
matrix - la matrice sur lequel l'iterator doit travailler
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<E>
next
public E next()
- Specified by:
next in interface Iterator<E>
remove
public void remove()
- Specified by:
remove in interface Iterator<E>
getValue
public E getValue()
setValue
public void setValue(E value)
getCoordinates
public int[] getCoordinates()
Copyright © 2004-2012 CodeLutin. All Rights Reserved.