@Test public void toBytes() { assertArrayEquals(AllShowBitMap.of(1).toBytes(), ByteBuffer.allocate(5).order(ByteOrder.LITTLE_ENDIAN) .put(BitMapType.ALL_SHOW.getHead()).putInt(1).array()); }
@Override public byte[] toBytes() { return ByteBuffer.allocate(5) .order(ByteOrder.LITTLE_ENDIAN) .put(getType().getHead()) .putInt(end).array(); }
AllShowBitMap extends RangeBitmap { @Override public byte[] toBytes() { return ByteBuffer.allocate(5) .order(ByteOrder.LITTLE_ENDIAN) .put(getType().getHead()) .putInt(end).array(); } }
AllShowBitMap extends RangeBitmap { @Override public byte[] toBytes() { return ByteBuffer.allocate(5) .order(ByteOrder.LITTLE_ENDIAN) .put(getType().getHead()) .putInt(end).array(); } private  AllShowBitMap(int rowCount); }
AllShowBitMap extends RangeBitmap { @Override public byte[] toBytes() { return ByteBuffer.allocate(5) .order(ByteOrder.LITTLE_ENDIAN) .put(getType().getHead()) .putInt(end).array(); } 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 byte[] toBytes() { return ByteBuffer.allocate(5) .order(ByteOrder.LITTLE_ENDIAN) .put(getType().getHead()) .putInt(end).array(); } 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();  }