public class NumberUtil extends Object
| Constructor and Description |
|---|
NumberUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getPowerOf2(long value)
Returns an integer X such that 2^X=value.
|
static boolean |
isPowerOf2(long value) |
Copyright © 2012–2015. All rights reserved.