info.aduna.collections.iterators
Class EmptyIterator<E>

java.lang.Object
  extended by info.aduna.iteration.CloseableIterationBase<E,X>
      extended by info.aduna.iteration.EmptyIteration<E,RuntimeException>
          extended by info.aduna.collections.iterators.EmptyIterator<E>
All Implemented Interfaces:
CloseableIterator<E>, CloseableIteration<E,RuntimeException>, Iteration<E,RuntimeException>, Closeable, Iterator<E>

public class EmptyIterator<E>
extends EmptyIteration<E,RuntimeException>
implements CloseableIterator<E>

An iterator that does not contain any elements.


Field Summary
 
Fields inherited from class info.aduna.iteration.CloseableIterationBase
logger
 
Constructor Summary
EmptyIterator()
           
 
Method Summary
 
Methods inherited from class info.aduna.iteration.EmptyIteration
hasNext, next, remove
 
Methods inherited from class info.aduna.iteration.CloseableIterationBase
close, handleClose, isClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.aduna.collections.iterators.CloseableIterator
close
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

EmptyIterator

public EmptyIterator()


Copyright © 1997-2008 Aduna. All Rights Reserved.