org.bouncycastle.util
Class Longs
java.lang.Object
|
+--org.bouncycastle.util.Longs
- public class Longs
- extends java.lang.Object
Field Summary |
static int |
BYTES
|
static int |
SIZE
|
Constructor Summary |
Longs()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYTES
public static final int BYTES
SIZE
public static final int SIZE
Longs
public Longs()
highestOneBit
public static long highestOneBit(long i)
lowestOneBit
public static long lowestOneBit(long i)
numberOfLeadingZeros
public static int numberOfLeadingZeros(long i)
numberOfTrailingZeros
public static int numberOfTrailingZeros(long i)
reverse
public static long reverse(long i)
reverseBytes
public static long reverseBytes(long i)
rotateLeft
public static long rotateLeft(long i,
int distance)
rotateRight
public static long rotateRight(long i,
int distance)
valueOf
public static java.lang.Long valueOf(long value)