### Question:
RangeBitmap extends AbstractBitMap { public static ImmutableBitMap of(int start, int end) { return new RangeBitmap(start, end); } RangeBitmap(int start, int end); static ImmutableBitMap of(int start, int end); @Override ImmutableBitMap getAnd(ImmutableBitMap index); @Override ImmutableBitMap getOr(ImmutableBitMap index); @Override ImmutableBitMap getAndNot(ImmutableBitMap index); @Override ImmutableBitMap getNot(int bound); @Override boolean contains(int index); @Override ImmutableBitMap clone(); @Override BitMapType getType(); @Override byte[] toBytes(); @Override void writeBytes(OutputStream output); @Override void traversal(TraversalAction action); @Override boolean breakableTraversal(BreakTraversalAction action); @Override int getCardinality(); @Override String toString(); @Override IntIterator intIterator();  }### Answer:
@Test public void of() { ImmutableBitMap bitmap = RangeBitmap.of(100, 200); assertEquals(100, bitmap.getCardinality()); for (int i = 100; i < 200; i++) { Assert.assertTrue(bitmap.contains(i)); } }