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

org.d2ab.collection.doubles.IterableDoubleList Maven / Gradle / Ivy

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

import org.d2ab.iterator.doubles.DoubleIterator;

import java.util.Iterator;

/**
 * Superinterface for {@link DoubleList} implementation supporting only regular {@link Iterator} access.
 */
public interface IterableDoubleList extends DoubleList {
	@Override
	DoubleIterator iterator();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy