@Test public void twoContainerXOR() { RoaringBitmap one = testCase().withRunAt(0).withArrayAt(1).build(); RoaringBitmap two = testCase().withBitmapAt(1).build(); RoaringBitmap three = testCase().withArrayAt(1).build(); assertEquals(FastAggregation.xor(one, two, three), ParallelAggregation.xor(one, two, three)); }
public static RoaringBitmap xor(RoaringBitmap... bitmaps) { return groupByKey(bitmaps) .entrySet() .parallelStream() .collect(XOR); }
ParallelAggregation { public static RoaringBitmap xor(RoaringBitmap... bitmaps) { return groupByKey(bitmaps) .entrySet() .parallelStream() .collect(XOR); } }
ParallelAggregation { public static RoaringBitmap xor(RoaringBitmap... bitmaps) { return groupByKey(bitmaps) .entrySet() .parallelStream() .collect(XOR); }  }
ParallelAggregation { public static RoaringBitmap xor(RoaringBitmap... bitmaps) { return groupByKey(bitmaps) .entrySet() .parallelStream() .collect(XOR); }  static SortedMap<Character, List<Container>> groupByKey(RoaringBitmap... bitmaps); static RoaringBitmap or(RoaringBitmap... bitmaps); static RoaringBitmap xor(RoaringBitmap... bitmaps); }
ParallelAggregation { public static RoaringBitmap xor(RoaringBitmap... bitmaps) { return groupByKey(bitmaps) .entrySet() .parallelStream() .collect(XOR); }  static SortedMap<Character, List<Container>> groupByKey(RoaringBitmap... bitmaps); static RoaringBitmap or(RoaringBitmap... bitmaps); static RoaringBitmap xor(RoaringBitmap... bitmaps);  }