public static class MatrixMap.MatrixMapIteratorImpl<E> extends Object implements MatrixMap.MatrixMapIterator<E>
| Modifier and Type | Field and Description |
|---|---|
protected MatrixMap.MatrixIterator<E> |
iterator |
protected int |
pos |
protected List[] |
semantics |
| Constructor and Description |
|---|
MatrixMapIteratorImpl(MatrixMap.MatrixIterator<E> iterator,
List[] semantics) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getCoordinates() |
Object[] |
getSemanticsCoordinates() |
E |
getValue() |
boolean |
hasNext() |
E |
next() |
void |
remove() |
void |
setValue(E value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected MatrixMap.MatrixIterator<E> iterator
protected List[] semantics
protected int pos
public MatrixMapIteratorImpl(MatrixMap.MatrixIterator<E> iterator, List[] semantics)
iterator - la matrice sur lequel l'iterator doit travaillersemantics - la semantique de matrix, si matrix n'a pas de semantique
alors il faut passer nullpublic int[] getCoordinates()
getCoordinates in interface MatrixMap.MatrixMapIterator<E>public E getValue()
getValue in interface MatrixMap.MatrixMapIterator<E>public void setValue(E value)
setValue in interface MatrixMap.MatrixMapIterator<E>public Object[] getSemanticsCoordinates()
getSemanticsCoordinates in interface MatrixMap.MatrixMapIterator<E>Copyright © 2004–2020 CodeLutin. All rights reserved.