|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.nuiton.math.matrix.BasicMatrix.BasicMatrixIteratorImpl
protected class BasicMatrix.BasicMatrixIteratorImpl
| Field Summary | |
|---|---|
protected BasicMatrix |
matrix
|
protected int |
pos
|
| Constructor Summary | |
|---|---|
BasicMatrix.BasicMatrixIteratorImpl(BasicMatrix matrix)
|
|
| Method Summary | |
|---|---|
int[] |
getCoordinates()
Retourne les coordonnés de l'élément. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BasicMatrix matrix
protected int pos
| Constructor Detail |
|---|
public BasicMatrix.BasicMatrixIteratorImpl(BasicMatrix matrix)
matrix - la matrice sur lequel l'iterator doit travailler| Method Detail |
|---|
public boolean hasNext()
BasicMatrixIterator
hasNext in interface BasicMatrixIteratorpublic boolean next()
BasicMatrixIterator
next in interface BasicMatrixIteratorpublic double getValue()
BasicMatrixIterator
getValue in interface BasicMatrixIteratorpublic void setValue(double value)
BasicMatrixIterator
setValue in interface BasicMatrixIteratorvalue - new value to set to current elementpublic int[] getCoordinates()
BasicMatrixIterator
getCoordinates in interface BasicMatrixIterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||