Searched refs:AltResult (Results 1 – 1 of 1) sorted by relevance
262 static final class AltResult { // See above class in CompletableFuture264 AltResult(Throwable x) { this.ex = x; } in AltResult() method in CompletableFuture.AltResult268 static final AltResult NIL = new AltResult(null);289 static AltResult encodeThrowable(Throwable x) { in encodeThrowable()290 return new AltResult((x instanceof CompletionException) ? x : in encodeThrowable()309 else if (r instanceof AltResult && x == ((AltResult)r).ex) in encodeThrowable()311 return new AltResult(x); in encodeThrowable()341 if (r instanceof AltResult in encodeRelay()342 && (x = ((AltResult)r).ex) != null in encodeRelay()344 r = new AltResult(new CompletionException(x)); in encodeRelay()[all …]