mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-06 06:25:03 +00:00
chore[util]: util tool
This commit is contained in:
@@ -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