Friday, August 19, 2011

The BitSet class implements a bit-vector of an arbitrary size. It automatically grows dynamically. This example demonstrates how to create and use a BitSet.
The BigInteger class also support bitwise operations (see Performing Bitwise Operations with BigInteger). However, a BigInteger object is immutable where a BitSet is mutable

No comments:

Post a Comment