(int val)
| 1631 | |
| 1632 | // bit shifting this might be more efficient |
| 1633 | protected static int nextPowerOfTwo(int val) { |
| 1634 | int ret = 1; |
| 1635 | while (ret < val) { |
| 1636 | ret <<= 1; |
| 1637 | } |
| 1638 | return ret; |
| 1639 | } |
| 1640 | |
| 1641 | |
| 1642 | /** |
no outgoing calls
no test coverage detected