execute a callable on the current thread , capturing the result or any exceptions that may be thrown into a completablefuture . concode_field_sep PlaceHolder placeHolder concode_field_sep Predicate<E> predicateAnd concode_elem_sep Predicate<E> predicateAnd concode_elem_sep BiPredicate<L,R> biPredicateAnd concode_elem_sep BiPredicate<L,R> biPredicateAnd concode_elem_sep Set<T> optionalAsSet concode_elem_sep CompletableFuture<T> asyncFailableFuture concode_elem_sep com.google.common.base.Predicate<E> java8ToGuava concode_elem_sep Predicate<E> guavaToJava8 concode_elem_sep Predicate<E> predicateIn
CompletableFuture < T > function ( Callable < T > arg0 ) { CompletableFuture < T > loc0 = new CompletableFuture < > ( ) ; try { loc0 . complete ( arg0 . arg0 ( ) ) ; } catch ( Exception loc1 ) { loc0 . completeExceptionally ( loc1 ) ; } return loc0 ; }