com.googlecode.objectify.util
Class QueryResultIteratorWrapper<T>

java.lang.Object
  extended by com.googlecode.objectify.util.QueryResultIteratorWrapper<T>
All Implemented Interfaces:
com.google.appengine.api.datastore.QueryResultIterator<T>, java.util.Iterator<T>
Direct Known Subclasses:
SessionCachingQueryImpl.SessionCachingQueryResultIterator

public class QueryResultIteratorWrapper<T>
extends java.lang.Object
implements com.google.appengine.api.datastore.QueryResultIterator<T>

Simple wrapper/decorator for a QueryResultIterator.

Author:
Jeff Schnitzer

Constructor Summary
QueryResultIteratorWrapper(com.google.appengine.api.datastore.QueryResultIterator<T> base)
           
 
Method Summary
 com.google.appengine.api.datastore.Cursor getCursor()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryResultIteratorWrapper

public QueryResultIteratorWrapper(com.google.appengine.api.datastore.QueryResultIterator<T> base)
Method Detail

getCursor

public com.google.appengine.api.datastore.Cursor getCursor()
Specified by:
getCursor in interface com.google.appengine.api.datastore.QueryResultIterator<T>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T>

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>


Copyright © 2011 Jeff Schnitzer and a gang of pirates. All Rights Reserved. Build version: 3.1