Constructor and Description |
---|
ResultAdapter(Future<T> fut) |
Modifier and Type | Method and Description |
---|---|
static <S> ResultAdapter<S> |
create(Future<S> fut)
Cuts out some typing
|
T |
now()
Waits if necessary for the computation to complete, and then retrieves
its result.
|
public static <S> ResultAdapter<S> create(Future<S> fut)
Copyright © 2016. All rights reserved.