com.healthmarketscience.rmiio
Class IOIterator.Adapter<DataType>

java.lang.Object
  extended by com.healthmarketscience.rmiio.IOIterator.Adapter<DataType>
All Implemented Interfaces:
IOIterator<DataType>
Enclosing interface:
IOIterator<DataType>

Deprecated. use RmiioUtil.adapt(java.util.Iterator) instead

@Deprecated
public static class IOIterator.Adapter<DataType>
extends Object
implements IOIterator<DataType>

Utility class for using a normal Iterator as an IOIterator.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.healthmarketscience.rmiio.IOIterator
IOIterator.Adapter<DataType>
 
Constructor Summary
IOIterator.Adapter(Iterator<? extends DataType> iter)
          Deprecated.  
 
Method Summary
 boolean hasNext()
          Deprecated. Returns true iff the iteration has more elements.
 DataType next()
          Deprecated. Returns the next element in the iteration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOIterator.Adapter

public IOIterator.Adapter(Iterator<? extends DataType> iter)
Deprecated. 
Method Detail

hasNext

public boolean hasNext()
Deprecated. 
Description copied from interface: IOIterator
Returns true iff the iteration has more elements.

Specified by:
hasNext in interface IOIterator<DataType>

next

public DataType next()
Deprecated. 
Description copied from interface: IOIterator
Returns the next element in the iteration.

Specified by:
next in interface IOIterator<DataType>


Copyright © 2006–2016 Health Market Science. All rights reserved.