java.util.BitSet simulates bit strings longer than 64 bits using an internal array of longs.
BitSet supports and, or, xor, andNot and clear. It does not have a shift, but you can copy bits, one at a time with get/set.
Other techniques for dealing with sets include:
This page is posted |
http://mindprod.com/jgloss/bitset.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\bitset.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[18.118.151.211] |
| |
Feedback |
You are visitor number | |