//$Id: EmptyIterator.java,v 1.6 2004/06/04 05:43:49 steveebersole Exp $
package net.sf.hibernate.util;

import java.util.Iterator;

/**
 * @author Gavin King
 */
public final class EmptyIterator implements Iterator {
	
	public static final Iterator INSTANCE = new EmptyIterator();

	public boolean hasNext() {
		return false;
	}

	public Object next() {
		throw new UnsupportedOperationException();
	}

	public void remove() {
		throw new UnsupportedOperationException();
	}
	
	private EmptyIterator() {}

}
