private int checkInterruptWhileWaiting(Node node){
  return Thread.interrupted() ? (transferAfterCancelledWait(node) ? THROW_IE : REINTERRUPT) : 0;
}

private int checkInterruptWhileWaiting ( Node node ) { return Thread . interrupted ( ) ? ( transferAfterCancelledWait ( node ) ? THROW_IE : REINTERRUPT ) : 0 ; }
checks for interrupt , returning throw_ie if interrupted before signalled , reinterrupt if after signalled , or 0 if not interrupted .
