| 580 | } |
| 581 | |
| 582 | private static class BiFlatMap<T, U, R> extends Continuation<T, R> { |
| 583 | private final BiFunction<? super T, ? super U, ? extends Future<R>> f; |
| 584 | private final Future<U> other; |
| 585 | |
| 586 | public BiFlatMap(final Future<U> other, final BiFunction<? super T, ? super U, ? extends Future<R>> f) { |
| 587 | this.other = other; |
| 588 | this.f = f; |
| 589 | } |
| 590 | |
| 591 | @Override |
| 592 | final Future<R> apply(final Future<T> result) { |
| 593 | return result.biFlatMap(other, f); |
| 594 | } |
| 595 | } |
| 596 | |
| 597 | @Override |
| 598 | public <U, R> Future<R> biFlatMap(final Future<U> other, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…