public static class IntPerfectHash.BitArray
extends java.lang.Object
| Constructor and Description |
|---|
IntPerfectHash.BitArray() |
public static byte[] setBit(byte[] data,
int x,
boolean value)
data - the arrayx - the bit indexvalue - the new valuepublic static boolean getBit(byte[] data,
int x)
data - the arrayx - the bit indexpublic static int countBits(byte[] data)
data - the array