Package com.googlecode.objectify
Class LoadResult<T>
java.lang.Object
com.googlecode.objectify.LoadResult<T>
- All Implemented Interfaces:
Result<T>
public class LoadResult<T> extends Object implements Result<T>
Enhances the basic Result> with some additional methods useful when loading data.
- Author:
- Jeff Schnitzer
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LoadResult
-
-
Method Details
-
now
Obtain the loaded value now. -
safe
Like now(), but throws NotFoundException instead of returning null.- Throws:
NotFoundException
- if the loaded value was not found
-