Returns whether there is a value.
()
| 47 | |
| 48 | /** Returns whether there is a value. */ |
| 49 | public boolean hasValue() { |
| 50 | return status == null; |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Returns the value if set or throws exception if there is no value set. This method is meant |
no outgoing calls