FileDocCategorySizeDatePackage
LazyIterator.javaAPI DocHibernate 3.2.5633Fri Jul 29 23:56:10 BST 2005org.hibernate.util

LazyIterator

public final class LazyIterator extends Object implements Iterator

Fields Summary
private final Map
map
private Iterator
iterator
Constructors Summary
public LazyIterator(Map map)

		this.map = map;
	
Methods Summary
private java.util.IteratorgetIterator()

		if (iterator==null) {
			iterator = map.values().iterator();
		}
		return iterator;
	
public booleanhasNext()

		return getIterator().hasNext();
	
public java.lang.Objectnext()

		return getIterator().next();
	
public voidremove()

		throw new UnsupportedOperationException();