com.meliorbis.numerics.index.IndexIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Numerics Show documentation
Show all versions of Numerics Show documentation
A library for working with large multi-dimensional arrays and the functions they represent
package com.meliorbis.numerics.index;
import java.util.PrimitiveIterator;
/**
* Iterator over an index. The value provided by next is the linear index, but it also provides
* access to the current index
*
* @author Tobias Grasl
*
*/
public interface IndexIterator extends PrimitiveIterator.OfInt
{
/**
* @return the currentIndex
*/
public int[] getCurrentIndex();
/**
* Resets the iterator to its pre-start position
*/
public void reset();
}