guava
guava copied to clipboard
ImmutableBitSet
Original issue created by [email protected] on 2012-07-06 at 12:55 PM
Java does not have an immutable BitSet. It would be nice if there was an ImmutableBitSetBuilder.
I and many others often use BitSets for URI encoding purposes or for complicated flag configuration. Thus the BitSets are often saved configuration (as a static final) that you don't want people to mutate.
http://stackoverflow.com/questions/7023936/is-there-an-immutablebitset-n-java
I hate requesting stuff with out writing the code so I will look into doing that today if people are interested.