com.mysema.util
Class ResultIterator<T>
java.lang.Object
com.mysema.util.ResultIterator<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- com.mysema.commons.lang.CloseableIterator<T>, Closeable, Iterator<T>
public class ResultIterator<T>
- extends Object
- implements com.mysema.commons.lang.CloseableIterator<T>
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultIterator
public ResultIterator(Iterator<T> iterator,
Closeable closeable)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T>
next
public T next()
- Specified by:
next
in interface Iterator<T>
remove
public void remove()
- Specified by:
remove
in interface Iterator<T>
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.