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

Method map

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

Maps the result of this future to another value. @param f the mapping function. @return a future transformed by the mapping function.

(Function<? super T, ? extends R> f)

Source from the content-addressed store, hash-verified

393 * @return a future transformed by the mapping function.
394 */
395 <R> Future<R> map(Function<? super T, ? extends R> f);
396
397 /**
398 * Maps the result of this future to another future and flattens the result.

Calls

no outgoing calls