List of utility methods to do Array Boolean Operation
void | fillArrayAND(final short[] container, final long[] bitmap1, final long[] bitmap2) Compute the bitwise AND between two long arrays and write the set bits in the container. int pos = 0; if (bitmap1.length != bitmap2.length) { throw new IllegalArgumentException("not supported"); for (int k = 0; k < bitmap1.length; ++k) { long bitset = bitmap1[k] & bitmap2[k]; while (bitset != 0) { long t = bitset & -bitset; ... |