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

Class FutureConstants

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

Source from the content-addressed store, hash-verified

605}
606
607final class FutureConstants {
608
609 private FutureConstants() {
610 }
611
612 static final Future<?> NEVER = new NoFuture<>();
613 static final Future<? extends List<?>> EMPTY_LIST = Future.value(Collections.unmodifiableList(new ArrayList<>(0)));
614 static final Future<? extends Optional<?>> EMPTY_OPIONAL = Future.value(Optional.empty());
615}
616
617final class CollectPromise<T> extends Promise<List<T>> {
618

Callers

nothing calls this directly

Calls 1

valueMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…