org.jboss.dna.common.util
Class EmptyIterator<T>

java.lang.Object
  extended by org.jboss.dna.common.util.EmptyIterator<T>
Type Parameters:
T - some type
All Implemented Interfaces:
Iterator<T>

public final class EmptyIterator<T>
extends Object
implements Iterator<T>

Author:
jverhaeg

Constructor Summary
EmptyIterator()
           
 
Method Summary
 boolean hasNext()
          
 T next()
          
 void remove()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyIterator

public EmptyIterator()
Method Detail

hasNext

public boolean hasNext()

Specified by:
hasNext in interface Iterator<T>
See Also:
Iterator.hasNext()

next

public T next()

Specified by:
next in interface Iterator<T>
See Also:
Iterator.next()

remove

public void remove()

Specified by:
remove in interface Iterator<T>
See Also:
Iterator.remove()


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.