Modifier and Type | Method and Description |
---|---|
static <T> Data<T> |
buildStatic() |
static <T> Data<T> |
buildStatic() |
<R> Data<R> |
cast()
Upcast the data tupe
|
static <T> Data<T> |
empty() |
static <T> Data<T> |
fromEnvelope()
Build data from envelope using given lazy binary transformation
|
static <T> Data<T> |
generate() |
static <T> Data<T> |
generate() |
T |
get()
Compute underlying goal and return sync result.
|
Goal<T> |
getGoal() |
java.util.concurrent.CompletableFuture<T> |
getInFuture()
Asynchronous data handler. Computation could be canceled if needed
|
Meta |
getMeta() |
boolean |
isValid() |
java.lang.Class<T> |
type()
Data type. Should be defined before data is calculated.
|
public static <T> Data<T> buildStatic()
public static <T> Data<T> buildStatic()
public static <T> Data<T> empty()
public static <T> Data<T> fromEnvelope()
Build data from envelope using given lazy binary transformation
public static <T> Data<T> generate()
public static <T> Data<T> generate()
public Goal<T> getGoal()
public T get()
Compute underlying goal and return sync result.
public java.util.concurrent.CompletableFuture<T> getInFuture()
Asynchronous data handler. Computation could be canceled if needed
public java.lang.Class<T> type()
Data type. Should be defined before data is calculated.
public boolean isValid()
public Meta getMeta()
public <R> Data<R> cast()
Upcast the data tupe