MCPcopy Create free account
hub / github.com/traneio/future / biMap

Method biMap

future-java/src/main/java/io/trane/future/Future.java:435–435  ·  view source on GitHub ↗

Waits for this and other (running in parallel) and then maps the result with f. @param other The other future that becomes the second parameter of f. @param f the mapping function. The first parameter is the result of this and the second the result of other. @return the m

(Future<U> other, BiFunction<? super T, ? super U, ? extends R> f)

Source from the content-addressed store, hash-verified

433 * @return the mapped future.
434 */
435 <U, R> Future<R> biMap(Future<U> other, BiFunction<? super T, ? super U, ? extends R> f);
436
437 /**
438 * Waits for this and other (running in parallel), maps the result with f, and

Callers 8

biMapMethod · 0.65
biMapInterruptMethod · 0.65
biMapAnotherPromiseMethod · 0.65
biMapMethod · 0.65
biMapMethod · 0.65
biMapExceptionMethod · 0.65
biMapMethod · 0.65
applyMethod · 0.65

Calls

no outgoing calls

Tested by 7

biMapMethod · 0.52
biMapInterruptMethod · 0.52
biMapAnotherPromiseMethod · 0.52
biMapMethod · 0.52
biMapMethod · 0.52
biMapExceptionMethod · 0.52
biMapMethod · 0.52