(int val)
| 1588 | |
| 1589 | // bit shifting this might be more efficient |
| 1590 | protected static int nextPowerOfTwo(int val) { |
| 1591 | int ret = 1; |
| 1592 | while (ret < val) ret <<= 1; |
| 1593 | return ret; |
| 1594 | } |
| 1595 | |
| 1596 | |
| 1597 | /** |
no outgoing calls
no test coverage detected