title: Java: LockSupport.parkNanos vs Thread.sleep(...)
body: <p>In some cases, most of us write things like this: </p>
  
  <pre><code>try {
     Thread.sleep(2000); 
  } catch (InterruptedException e) {
     ; // do nothing
  }
  </code></pre>
  
  <p>Whether right or wrong, acceptable only in some test harnesses, is not my point.
  My point is that the same code could be written,more succinctly, as: </p>
  
  <pre><code>  LockSupport.parkNanos(2000* 1000000);
  </code></pre>
  
  <p>is there any reason why I should favour one approach over the other.</p>