com.healthmarketscience.rmiio
Class IOIterator.Adapter<DataType>
java.lang.Object
com.healthmarketscience.rmiio.IOIterator.Adapter<DataType>
- All Implemented Interfaces:
- IOIterator<DataType>
- Enclosing interface:
- IOIterator<DataType>
Deprecated. use RmiioUtil.adapt(java.util.Iterator extends T>)
instead
@Deprecated
public static class IOIterator.Adapter<DataType>
- extends Object
- implements IOIterator<DataType>
Utility class for using a normal Iterator as an IOIterator.
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 |
IOIterator.Adapter
public IOIterator.Adapter(Iterator<? extends DataType> iter)
- Deprecated.
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.