brettwooldridge / SparseBitSet

An efficient sparse bit set implementation for Java
Apache License 2.0
265 stars 33 forks source link

Fixed bug with nextClearBit, made stateless strategies static #9

Closed incaseoftrouble closed 7 years ago

incaseoftrouble commented 7 years ago

This should fix #8. Additionally, stateless strategies have been made static, the EqualsStrategy is initialized lazily. Also I unified the formatting a bit (sorry for the whitespace changes in the diff, append ?w=1 to the URL to ignore them).

brettwooldridge commented 7 years ago

Thanks for the contribution, I'll take a look in the morning (9:30pm here in Tokyo).