Package io.atomix.utils.memory
Class Memory.Util
- java.lang.Object
-
- io.atomix.utils.memory.Memory.Util
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisPow2(int size)Returns a boolean indicating whether the given count is a power of 2.static longtoPow2(int size)Rounds the count to the nearest power of two.
-