org.sdnplatform.sync.internal.util
Class EmptyClosableIterator<T>

java.lang.Object
  extended by org.sdnplatform.sync.internal.util.EmptyClosableIterator<T>
All Implemented Interfaces:
java.io.Closeable, java.util.Iterator<T>, IClosableIterator<T>

public class EmptyClosableIterator<T>
extends java.lang.Object
implements IClosableIterator<T>


Constructor Summary
EmptyClosableIterator()
           
 
Method Summary
 void close()
          Close the iterator
 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

EmptyClosableIterator

public EmptyClosableIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T>

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>

close

public void close()
Description copied from interface: IClosableIterator
Close the iterator

Specified by:
close in interface java.io.Closeable
Specified by:
close in interface IClosableIterator<T>