/** * Transition to the CANCELLED state. */ boolean cancel() { return complete(null, null, CANCELLED); }
/** * Transition to the COMPLETED state and set the exception. */ boolean setException(Throwable t) { return complete(null, t, COMPLETED); }
/** * Transition to the COMPLETED state and set the value. */ boolean set(@Nullable V v) { return complete(v, null, COMPLETED); }
/** * Transition to the CANCELLED state. */ boolean cancel() { return complete(null, null, CANCELLED); }
/** * Transition to the CANCELLED state. */ boolean cancel() { return complete(null, null, CANCELLED); }
/** * Transition to the COMPLETED state and set the exception. */ boolean setException(Throwable t) { return complete(null, t, COMPLETED); }
/** * Transition to the COMPLETED state and set the value. */ boolean set(@Nullable V v) { return complete(v, null, COMPLETED); }
/** * Transition to the CANCELLED state. */ boolean cancel() { return complete(null, null, CANCELLED); }
/** * Transition to the COMPLETED state and set the exception. */ boolean setException(Throwable t) { return complete(null, t, COMPLETED); }
/** * Transition to the COMPLETED state and set the value. */ boolean set(@Nullable V v) { return complete(v, null, COMPLETED); }
/** * Transition to the COMPLETED state and set the exception. */ boolean setException(Throwable t) { return complete(null, t, COMPLETED); }
/** * Transition to the COMPLETED state and set the value. */ boolean set(@Nullable V v) { return complete(v, null, COMPLETED); }
/** * Transition to the COMPLETED state and set the exception. */ boolean setException(Throwable t) { return complete(null, t, COMPLETED); }
/** * Transition to the COMPLETED state and set the value. */ boolean set(@Nullable V v) { return complete(v, null, COMPLETED); }
/** * Transition to the CANCELLED state. */ boolean cancel() { return complete(null, null, CANCELLED); }