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
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResultNow
-
-
Method Details
-
now
Description copied from interface:Result
Waits if necessary for the computation to complete, and then retrieves its result. If the computation produced an exception, it will be thrown here. -
toString
-