T - the type of the elements over which the iteration is being performed@Immutable public final class EmptyIterator<T> extends Object implements Iterator<T>
Iterator implementation that has no elements. Note that the objects are immutable, and therefore may be
shared and reused.| Constructor and Description |
|---|
EmptyIterator() |
public boolean hasNext()
hasNext in interface Iterator<T>Iterator.hasNext()public T next()
next in interface Iterator<T>Iterator.next()public void remove()
remove in interface Iterator<T>Iterator.remove()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.