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

Method get

future-java/src/test/java/io/trane/future/FutureTest.java:27–29  ·  view source on GitHub ↗
(Future<T> future)

Source from the content-addressed store, hash-verified

25public class FutureTest {
26
27 private <T> T get(Future<T> future) throws CheckedFutureException {
28 return future.get(Duration.ofMillis(1));
29 }
30
31 private final ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor();
32 private final Exception ex = new TestException();

Callers 15

trueConstMethod · 0.95
falseConstMethod · 0.95
applyValueMethod · 0.95
applyExceptionMethod · 0.95
flatApplyValueMethod · 0.95
flatApplyExceptionMethod · 0.95
valueMethod · 0.95
exceptionMethod · 0.95
flattenMethod · 0.95
tailrecMethod · 0.95
nonTailrecMethod · 0.95
nonTailrecDelayedMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected