| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | |
| public static boolean | |
| public static int | |
| public static long | |
| public static int | |
| public static int | |
| 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) |
| public static int | |
| public static int |
| AllBits | back to summary |
|---|---|
| public static final int AllBits | |
| BitsPerByte | back to summary |
|---|---|
| public static final int BitsPerByte | |
| BitsPerInt | back to summary |
|---|---|
| public static final int BitsPerInt | |
| LogBytesPerInt | back to summary |
|---|---|
| public static final int LogBytesPerInt | |
| LogBytesPerLong | back to summary |
|---|---|
| public static final int LogBytesPerLong | |
| NoBits | back to summary |
|---|---|
| public static final int NoBits | |
| OneBit | back to summary |
|---|---|
| public static final int OneBit | |
| Bits | back to summary |
|---|---|
| public Bits() | |
| clearBits | back to summary |
|---|---|
| public static int clearBits(int x, int m) | |
| clearNthBit | back to summary |
|---|---|
| public static int clearNthBit(int x, int n) | |
| isSetNthBit | back to summary |
|---|---|
| public static boolean isSetNthBit(int word, int n) | |
| maskBits | back to summary |
|---|---|
| public static int maskBits(int x, int m) | |
| maskBitsLong | back to summary |
|---|---|
| public static long maskBitsLong(long x, long m) | |
| nthBit | back to summary |
|---|---|
| public static int nthBit(int n) | |
| rightNBits | back to summary |
|---|---|
| public static int rightNBits(int n) | |
| roundTo | back to summary |
|---|---|
| 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) | |
| setBits | back to summary |
|---|---|
| public static int setBits(int x, int m) | |
| setNthBit | back to summary |
|---|---|
| public static int setNthBit(int x, int n) | |