Class Capacity
- java.lang.Object
-
- com.conversantmedia.util.concurrent.Capacity
-
final class Capacity extends java.lang.Object
Created by jcairns on 7/12/2018
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_POWER2
-
Constructor Summary
Constructors Constructor Description Capacity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCapacity(int capacity)
return the next power of two after @param capacity or capacity if it is alreadyprivate static boolean
isPowerOf2(int p)
-
-
-
Field Detail
-
MAX_POWER2
public static final int MAX_POWER2
- See Also:
- Constant Field Values
-
-