com.googlecode.objectify
Class KeyRange<T>

java.lang.Object
  extended by com.googlecode.objectify.KeyRange<T>
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<Key<T>>

public class KeyRange<T>
extends java.lang.Object
implements java.lang.Iterable<Key<T>>, java.io.Serializable

This is a typesafe version of the KeyRange object. It represents a number of ids preallocated with ObjectifyFactory#allocateIds(Class, long).

Author:
Jeff Schnitzer
See Also:
Serialized Form

Method Summary
 com.google.appengine.api.datastore.KeyRange getRaw()
          Get the raw datastore keyrange.
 java.util.Iterator<Key<T>> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRaw

public com.google.appengine.api.datastore.KeyRange getRaw()
Get the raw datastore keyrange.


iterator

public java.util.Iterator<Key<T>> iterator()
Specified by:
iterator in interface java.lang.Iterable<Key<T>>


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