org.nuiton.util
Class MatrixMap.SubMatrix.SubMatrixIterator<E>

java.lang.Object
  extended by org.nuiton.util.MatrixMap.SubMatrix.SubMatrixIterator<E>
All Implemented Interfaces:
Iterator<E>, MatrixMap.MatrixMapIterator<E>
Enclosing class:
MatrixMap.SubMatrix<E>

protected class MatrixMap.SubMatrix.SubMatrixIterator<E>
extends Object
implements MatrixMap.MatrixMapIterator<E>


Field Summary
protected  int[] cpt
           
protected  int[] last
           
protected  MatrixMap.SubMatrix<E> subMatrix
           
 
Constructor Summary
MatrixMap.SubMatrix.SubMatrixIterator(MatrixMap.SubMatrix<E> subMatrix)
           
 
Method Summary
 int[] getCoordinates()
           
 Object[] getSemanticsCoordinates()
           
 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

subMatrix

protected MatrixMap.SubMatrix<E> subMatrix

cpt

protected int[] cpt

last

protected int[] last
Constructor Detail

MatrixMap.SubMatrix.SubMatrixIterator

public MatrixMap.SubMatrix.SubMatrixIterator(MatrixMap.SubMatrix<E> subMatrix)
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>

getCoordinates

public int[] getCoordinates()
Specified by:
getCoordinates in interface MatrixMap.MatrixMapIterator<E>

getSemanticsCoordinates

public Object[] getSemanticsCoordinates()
Specified by:
getSemanticsCoordinates in interface MatrixMap.MatrixMapIterator<E>

getValue

public E getValue()
Specified by:
getValue in interface MatrixMap.MatrixMapIterator<E>

setValue

public void setValue(E value)
Specified by:
setValue in interface MatrixMap.MatrixMapIterator<E>


Copyright © 2004-2012 CodeLutin. All Rights Reserved.