proai.driver.impl
Class RemoteIteratorImpl<T>

java.lang.Object
  extended by proai.driver.impl.RemoteIteratorImpl<T>
All Implemented Interfaces:
java.util.Iterator<T>, CloseableIterator<T>, RemoteIterator<T>

public class RemoteIteratorImpl<T>
extends java.lang.Object
implements RemoteIterator<T>


Constructor Summary
RemoteIteratorImpl(java.util.Iterator<T> iter)
           
 
Method Summary
 void close()
           
 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

RemoteIteratorImpl

public RemoteIteratorImpl(java.util.Iterator<T> iter)
Method Detail

hasNext

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

next

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

close

public void close()
Specified by:
close in interface CloseableIterator<T>
Specified by:
close in interface RemoteIterator<T>

remove

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