How to set/unset a bit at specific position of a long in Java ?
For example,
long l = 0b001100L ; // bit representation
I want to s
See this post BitSet to and from integer/long for methods to convert long to bitset and vice versa