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

Method Map

future-java/src/main/java/io/trane/future/Promise.java:453–455  ·  view source on GitHub ↗
(final Function<? super T, ? extends R> f)

Source from the content-addressed store, hash-verified

451 private final Function<? super T, ? extends R> f;
452
453 public Map(final Function<? super T, ? extends R> f) {
454 this.f = f;
455 }
456
457 @Override
458 final Future<R> apply(final Future<T> result) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected