Package com.querydsl.jpa
Class TransformingIterator<T>
java.lang.Object
com.querydsl.jpa.TransformingIterator<T>
- Type Parameters:
T-
- All Implemented Interfaces:
com.mysema.commons.lang.CloseableIterator<T>,Closeable,AutoCloseable,Iterator<T>
public class TransformingIterator<T>
extends Object
implements com.mysema.commons.lang.CloseableIterator<T>
TransformingIterator is a CloseableIterator adapter that transforms via a FactoryExpression instance- Author:
- tiwe
-
Constructor Summary
ConstructorsConstructorDescriptionTransformingIterator(Iterator<T> iterator, FactoryExpression<?> projection) TransformingIterator(Iterator<T> iterator, Closeable closeable, FactoryExpression<?> projection) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
TransformingIterator
-
TransformingIterator
public TransformingIterator(Iterator<T> iterator, Closeable closeable, FactoryExpression<?> projection)
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfacecom.mysema.commons.lang.CloseableIterator<T>
-