title: Get n Least Significant Bits from an Int
body: <p>This seems fairly straightforward, but I cant find an answer. If I have an int X, what is the best way to get N least significant bits from this int, in Java?</p>