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

org.d2ab.collection.ints.IterableIntList Maven / Gradle / Ivy

The newest version!
package org.d2ab.collection.ints;

import org.d2ab.iterator.ints.IntIterator;

import java.util.Iterator;

/**
 * Superinterface for {@link IntList} implementation supporting only regular {@link Iterator} access.
 */
public interface IterableIntList extends IntList {
	@Override
	IntIterator iterator();

	@Override
	default IntListIterator listIterator(int index) {
		return IntListIterator.forwardOnly(iterator(), index);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy