title: How to get most significant n bits from int in java
body: <p>I have an int, and I would like to get the 19 most significant bits in java. I tried all sorts of methods, none of them work.
  Can someone please help me?</p>