Originally Posted by
Jabetha
Thank you for the explanation. Just a few more specific questions:
bitset1.xor(bitset.get(30,45)) --- Does that mean to compare through an exclusive or operation the total contents of bitset1 with only the contents of bitset from position 30 (inclusive) to position 45 (exclusive)? Is bitset1 then updated with a new value to reflect the outcome of the operation?
number_users = intFromBits(bitset, 22, 8) --- What location in the object's data array does this assign to the variable? If you could maybe provide sample data for the data array and what this operation would then assign to number_users that would be immensely helpful.
Thanks again...
I have never used bitset so i am not sure. My answer was based on how java is designed, built and used.