@Test public void testGetNot() { int rowCount = r.nextInt(BOUND); ImmutableBitMap im = AllShowBitMap.of(rowCount); ImmutableBitMap not = im.getNot(rowCount); if (!not.isEmpty()) { Assert.fail(); } }
@Override public ImmutableBitMap getNot(int bound) { if (bound < end) { return new RangeBitmap(bound, end); } else { return new RangeBitmap(end, bound); } }
AllShowBitMap extends RangeBitmap { @Override public ImmutableBitMap getNot(int bound) { if (bound < end) { return new RangeBitmap(bound, end); } else { return new RangeBitmap(end, bound); } } }
AllShowBitMap extends RangeBitmap { @Override public ImmutableBitMap getNot(int bound) { if (bound < end) { return new RangeBitmap(bound, end); } else { return new RangeBitmap(end, bound); } } private  AllShowBitMap(int rowCount); }
AllShowBitMap extends RangeBitmap { @Override public ImmutableBitMap getNot(int bound) { if (bound < end) { return new RangeBitmap(bound, end); } else { return new RangeBitmap(end, bound); } } 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 getNot(int bound) { if (bound < end) { return new RangeBitmap(bound, end); } else { return new RangeBitmap(end, bound); } } 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();  }