Package com.querydsl.jpa
Class ScrollableResultsIterator<T>
- java.lang.Object
-
- com.querydsl.jpa.ScrollableResultsIterator<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
com.mysema.commons.lang.CloseableIterator<T>,java.io.Closeable,java.lang.AutoCloseable,java.util.Iterator<T>
public class ScrollableResultsIterator<T> extends java.lang.Object implements com.mysema.commons.lang.CloseableIterator<T>ScrollableResultsIteratoris aCloseableIteratoradapter for ScrollableResults- Author:
- tiwe
-
-
Constructor Summary
Constructors Constructor Description ScrollableResultsIterator(java.util.List<T> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Tnext()voidremove()
-
-
-
Constructor Detail
-
ScrollableResultsIterator
public ScrollableResultsIterator(java.util.List<T> results)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T>
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfacecom.mysema.commons.lang.CloseableIterator<T>
-
-