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

org.junit.extensions.cpsuite.NullIterator Maven / Gradle / Ivy

The newest version!
/*
 * @author Johannes Link ([email protected])
 * 
 * Published under Apache License, Version 2.0 (http://apache.org/licenses/LICENSE-2.0)
 */
package org.junit.extensions.cpsuite;

import java.util.*;

public class NullIterator implements Iterable, Iterator {

	public Iterator iterator() {
		return this;
	}

	public boolean hasNext() {
		return false;
	}

	public T next() {
		throw new NoSuchElementException();
	}

	public void remove() {
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy