(int n)
| 651 | } |
| 652 | |
| 653 | public static boolean isPowerOf2(int n) { |
| 654 | int i=2; |
| 655 | while(i<n) i *= 2; |
| 656 | return i==n; |
| 657 | } |
| 658 | |
| 659 | /** Returns a string containing information about this FHT. */ |
| 660 | public String toString() { |
no outgoing calls
no test coverage detected