try {
myagg.bitmap.writeExternal(bitmapObjOut);
} catch (IOException e) {
throw new RuntimeException(e);
}
return bitmapObjOut.list();
}
private void addBitmap(int newRow, BitmapAgg myagg) {
if (!myagg.bitmap.set(newRow)) {
throw new RuntimeException("Can't set bits out of order with EWAHCompressedBitmap");