VALUE_TYPE - The type of the value that will be initialized laterpublic interface IFutureValue<VALUE_TYPE>
| Modifier and Type | Method and Description | 
|---|---|
void | 
addFutureCallback(IFutureValueCallback<VALUE_TYPE> callback)
Adds a callback that will be invoked in the following manner:
 
 1. 
 | 
VALUE_TYPE | 
getValue()
Gets the value if the future is initialized and throw a runtime exception otherwise 
 | 
boolean | 
isInitialized()  | 
void | 
removeFutureCallback(IFutureValueCallback<VALUE_TYPE> callback)
Removes a creation callback if no longer interested on the value. 
 | 
void addFutureCallback(IFutureValueCallback<VALUE_TYPE> callback)
callback - The callback that gets the initialized valuevoid removeFutureCallback(IFutureValueCallback<VALUE_TYPE> callback)
callback - The callback to removeboolean isInitialized()
VALUE_TYPE getValue()
java.lang.IllegalStateException - if the future is not already initializedSiehe auch Jowidgets Nutzerhandbuch