com.mysema.query.jpa.hibernate
Class ScrollableResultsIterator<T>
java.lang.Object
com.mysema.query.jpa.hibernate.ScrollableResultsIterator<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- com.mysema.commons.lang.CloseableIterator<T>, Closeable, Iterator<T>
public class ScrollableResultsIterator<T>
- extends Object
- implements com.mysema.commons.lang.CloseableIterator<T>
ScrollableResultsIterator is an CloseableIterator adapter for ScrollableResults
- Author:
- tiwe
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScrollableResultsIterator
public ScrollableResultsIterator(org.hibernate.ScrollableResults results)
ScrollableResultsIterator
public ScrollableResultsIterator(org.hibernate.ScrollableResults results,
boolean asArray)
close
public void close()
- Specified by:
close in interface com.mysema.commons.lang.CloseableIterator<T>- Specified by:
close in interface 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>
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.