BitSet has many more readonly method compared to Bits. Similarly, BitSet has many more write methods compared to MutableBits. So, as I said, this seems to be based on internal requirement like live docs, documents with DocValues etc.
Thanks for your time, Yonik On Sun, Sep 13, 2015 at 4:43 PM, Yonik Seeley <[email protected]> wrote: > On Sun, Sep 13, 2015 at 4:23 PM, Selva Kumar > <[email protected]> wrote: > > Mutable, "Immutable" interface of BitSet seems to be defined based on > > specific things like live docs and documents with DocValue etc. Any plan > to > > add general purpose readonly interface to BitSet? > > We already have the "Bits" interface: > > public interface Bits { > public boolean get(int index); > public int length(); > } > > -Yonik > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
