void function ( @ Nullable T arg0 ) { checkNotSet ( ) ; mResult = arg0 ; mReadyLatch . countDown ( ) ; }
sets the result . if another thread has called #get , they will immediately receive the value . set or setexception must only be called once . concode_field_sep T mResult concode_elem_sep Exception mException concode_elem_sep CountDownLatch mReadyLatch concode_field_sep boolean cancel concode_elem_sep boolean isCancelled concode_elem_sep void checkNotSet concode_elem_sep T get concode_elem_sep T get concode_elem_sep T getOrThrow concode_elem_sep T getOrThrow concode_elem_sep void setException concode_elem_sep boolean isDone