All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.meliorbis.numerics.index.IndexIterator Maven / Gradle / Ivy

Go to download

A library for working with large multi-dimensional arrays and the functions they represent

There is a newer version: 1.2
Show newest version
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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy