Sets k-th most-significant bit.
(int k, int bitValue)
| 24 | |
| 25 | /** Sets k-th most-significant bit. */ |
| 26 | public void set(int k, int bitValue){ |
| 27 | if (bitValue == 0 ) bits[k] = false; |
| 28 | else bits[k] = true; |
| 29 | } |
| 30 | |
| 31 | /** Sets k-th most-significant bit. */ |
| 32 | public void set(int k, char bitValue){ |
no outgoing calls
no test coverage detected