GetResponse (Google App Engine API for Java)

com.google.appengine.api.search

Class GetResponse<T>

  • java.lang.Object
    • com.google.appengine.api.search.GetResponse<T>
  • Type Parameters:
    T - The type of object to be listed from an index
    All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<T>


    public class GetResponse<T>
    extends java.lang.Object
    implements java.lang.Iterable<T>, java.io.Serializable
    Represents a result of executing a GetRequest. The response contains a list of T.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<T> getResults() 
      java.util.Iterator<T> iterator() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • iterator

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

        public java.util.List<T> getResults()
        Returns:
        an unmodifiable list of T from the index
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object