Class IteratorFirstResult<T>

java.lang.Object
com.googlecode.objectify.util.ResultCache<T>
com.googlecode.objectify.util.IteratorFirstResult<T>
All Implemented Interfaces:
Result<T>, Serializable

public class IteratorFirstResult<T> extends ResultCache<T>
Extracts the first value of the iterator as the result value. If the iterator has no first value, the result value is null.
Author:
Jeff Schnitzer invalid input: '<'[email protected]>
See Also:
  • Constructor Details

    • IteratorFirstResult

      public IteratorFirstResult(Iterator<T> iterator)
  • Method Details