chore[util]: util tool

This commit is contained in:
godotg
2023-11-28 19:27:40 +08:00
parent 4ee0a785e6
commit 3ea92c3a54
@@ -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;