- java.lang.Object
-
- sun.jvm.hotspot.utilities.Bits
-
-
Constructor Summary
Constructors
Constructor and Description |
Bits() |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
roundTo
public static int roundTo(int x,
int s)
Returns integer round-up to the nearest multiple of s (s must be
a power of two)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.