Package com.googlecode.objectify.util
Class ResultNow<T>
- java.lang.Object
-
- com.googlecode.objectify.util.ResultNow<T>
-
- All Implemented Interfaces:
Result<T>
,Serializable
public class ResultNow<T> extends Object implements Result<T>, Serializable
Simplistic result that holds a constant value.- Author:
- Jeff Schnitzer
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
now()
Waits if necessary for the computation to complete, and then retrieves its result.String
toString()
-