mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 18:17:02 +00:00
chore[util]: util tool
This commit is contained in:
1 parent
4ee0a785e6
commit
3ea92c3a54
1 file changed
+1
-3
@@ -3,9 +3,7 @@ package com.zfoo.protocol.util;
|
||||
/**
|
||||
* @author Boone Jack
|
||||
*/
|
||||
public class MathSafeUtil {
|
||||
private MathSafeUtil() {
|
||||
}
|
||||
public abstract class MathSafeUtil {
|
||||
|
||||
public static int findNextPositivePowerOfTwo(int value) {
|
||||
assert value > Integer.MIN_VALUE && value < IOUtils.BYTES_PER_MB;
|
||||
|
||||
Reference in new issue
Block a user