Package org.nuiton.util
Class MatrixMap.SubMatrix.SubMatrixIterator<E>
java.lang.Object
org.nuiton.util.MatrixMap.SubMatrix.SubMatrixIterator<E>
- All Implemented Interfaces:
java.util.Iterator<E>,MatrixMap.MatrixMapIterator<E>
- Enclosing class:
- MatrixMap.SubMatrix<E>
protected class MatrixMap.SubMatrix.SubMatrixIterator<E> extends java.lang.Object implements MatrixMap.MatrixMapIterator<E>
-
Field Summary
Fields Modifier and Type Field Description protected int[]cptprotected int[]lastprotected MatrixMap.SubMatrix<E>subMatrix -
Constructor Summary
Constructors Constructor Description SubMatrixIterator(MatrixMap.SubMatrix<E> subMatrix) -
Method Summary
Modifier and Type Method Description int[]getCoordinates()java.lang.Object[]getSemanticsCoordinates()EgetValue()booleanhasNext()Enext()voidremove()voidsetValue(E value)
-
Field Details
-
Constructor Details
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfacejava.util.Iterator<E>
-
next
- Specified by:
nextin interfacejava.util.Iterator<E>
-
remove
public void remove()- Specified by:
removein interfacejava.util.Iterator<E>
-
getCoordinates
public int[] getCoordinates()- Specified by:
getCoordinatesin interfaceMatrixMap.MatrixMapIterator<E>
-
getSemanticsCoordinates
public java.lang.Object[] getSemanticsCoordinates()- Specified by:
getSemanticsCoordinatesin interfaceMatrixMap.MatrixMapIterator<E>
-
getValue
- Specified by:
getValuein interfaceMatrixMap.MatrixMapIterator<E>
-
setValue
- Specified by:
setValuein interfaceMatrixMap.MatrixMapIterator<E>
-