I surveyed BitArray class to check whether it is possible to delete it
in favor of BitSet.

IMHO we could dismiss BitArray, but we should extend the existing
java.util.BitSet class to provide some methods missing:
setAllOnes() to set all bits true,
firstOne() to find the first true bit,
writeToDataOutputStream()
hashCode()
unsignedByte() [STATIC method]
I don't think it would be difficult to create them.

On the other hand, maybe it could be knotty to substitute
serializedLength() method which has only one reference.

Matthew Toseland wrote:
> On Thursday 12 July 2007 13:19, bbackde at googlemail.com wrote:
>   
>> Slightly off topic question: why don't you use the existing
>> java.util.BitSet? This seems to work for me in Frost.
>>     
>
> IIRC we needed some extra methods. Somebody should check into this.
>   
>> On 7/12/07, Sback <sback at sback.it> wrote:
>>     
[CUT]

Reply via email to