protected class SubMatrix.SubMatrixIteratorImpl extends Object implements MatrixIterator
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
cpt |
protected int[] |
last |
protected SubMatrix |
subMatrix |
| Constructor and Description |
|---|
SubMatrix.SubMatrixIteratorImpl(SubMatrix subMatrix) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getCoordinates()
Retourne les coordonnés de l'élément.
|
Object[] |
getSemanticsCoordinates()
Retourne les coordonnés de l'élément, en sémantique.
|
double |
getValue()
Retourne la valeur courant pointé par l'iterator.
|
boolean |
hasNext()
Retourne vrai s'il existe un suivant.
|
boolean |
next()
Passe à l'élément suivant.
|
void |
setValue(double value)
Modifie la valeur courant pointé par l'iterator.
|
protected SubMatrix subMatrix
protected int[] cpt
protected int[] last
public SubMatrix.SubMatrixIteratorImpl(SubMatrix subMatrix)
public boolean hasNext()
BasicMatrixIteratorhasNext in interface BasicMatrixIteratorpublic boolean next()
BasicMatrixIteratornext in interface BasicMatrixIteratorpublic int[] getCoordinates()
BasicMatrixIteratorgetCoordinates in interface BasicMatrixIteratorpublic Object[] getSemanticsCoordinates()
MatrixIteratorgetSemanticsCoordinates in interface MatrixIteratorpublic double getValue()
BasicMatrixIteratorgetValue in interface BasicMatrixIteratorpublic void setValue(double value)
BasicMatrixIteratorsetValue in interface BasicMatrixIteratorvalue - new value to set to current elementCopyright © 2004-2011 CodeLutin. All Rights Reserved.