org.nuiton.util
Class MatrixMap.MatrixIterator<E>

java.lang.Object
  extended by 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>


Field Summary
protected  MatrixMap.Matrix<E> matrix
           
protected  int pos
           
 
Constructor Summary
MatrixMap.MatrixIterator(MatrixMap.Matrix<E> matrix)
           
 
Method Summary
 int[] getCoordinates()
           
 E getValue()
           
 boolean hasNext()
           
 E next()
           
 void remove()
           
 void setValue(E value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matrix

protected MatrixMap.Matrix<E> matrix

pos

protected int pos
Constructor Detail

MatrixMap.MatrixIterator

public MatrixMap.MatrixIterator(MatrixMap.Matrix<E> matrix)
Parameters:
matrix - la matrice sur lequel l'iterator doit travailler
Method Detail

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-2011 CodeLutin. All Rights Reserved.