Class MatrixMap.MatrixIterator<E>

java.lang.Object
org.nuiton.util.MatrixMap.MatrixIterator<E>
All Implemented Interfaces:
java.util.Iterator<E>
Enclosing interface:
MatrixMap<E>

public static class MatrixMap.MatrixIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected MatrixMap.Matrix<E> matrix  
    protected int pos  
  • Constructor Summary

    Constructors 
    Constructor Description
    MatrixIterator​(MatrixMap.Matrix<E> matrix)  
  • Method Summary

    Modifier and Type Method Description
    int[] getCoordinates()  
    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

    Methods inherited from interface java.util.Iterator

    forEachRemaining
  • Field Details

  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface java.util.Iterator<E>
    • next

      public E next()
      Specified by:
      next in interface java.util.Iterator<E>
    • remove

      public void remove()
      Specified by:
      remove in interface java.util.Iterator<E>
    • getValue

      public E getValue()
    • setValue

      public void setValue​(E value)
    • getCoordinates

      public int[] getCoordinates()