@Test public void testGetAndNot() { MutableBitMap m = getMutableBitMap(); int[] a = prepare(m); int rowCount = a.length << 2; ImmutableBitMap im = AllShowBitMap.of(rowCount); ImmutableBitMap andNot = im.getAndNot(m); for (int i = 0; i < a.length; i++) { if ((a[i] == 1) == andNot.contains(i)) { Assert.fail(); } } }
@Override public ImmutableBitMap getAndNot(ImmutableBitMap index) { return index.getNot(end); }
AllShowBitMap extends RangeBitmap { @Override public ImmutableBitMap getAndNot(ImmutableBitMap index) { return index.getNot(end); } }
AllShowBitMap extends RangeBitmap { @Override public ImmutableBitMap getAndNot(ImmutableBitMap index) { return index.getNot(end); } private  AllShowBitMap(int rowCount); }
AllShowBitMap extends RangeBitmap { @Override public ImmutableBitMap getAndNot(ImmutableBitMap index) { return index.getNot(end); } private  AllShowBitMap(int rowCount); static ImmutableBitMap of(int rowCount); @Override byte[] toBytes(); @Override ImmutableBitMap getAnd(ImmutableBitMap index); @Override ImmutableBitMap getOr(ImmutableBitMap index); @Override ImmutableBitMap getAndNot(ImmutableBitMap index); @Override ImmutableBitMap getNot(int bound); @Override ImmutableBitMap clone(); @Override BitMapType getType(); }
AllShowBitMap extends RangeBitmap { @Override public ImmutableBitMap getAndNot(ImmutableBitMap index) { return index.getNot(end); } private  AllShowBitMap(int rowCount); static ImmutableBitMap of(int rowCount); @Override byte[] toBytes(); @Override ImmutableBitMap getAnd(ImmutableBitMap index); @Override ImmutableBitMap getOr(ImmutableBitMap index); @Override ImmutableBitMap getAndNot(ImmutableBitMap index); @Override ImmutableBitMap getNot(int bound); @Override ImmutableBitMap clone(); @Override BitMapType getType();  }