then it is better to make a AbstractBitSet abstract class?and two sub classes MutableBitSet and ImmutableBitSet...
?? Outlook for Android<https://aka.ms/ghei36> ________________________________ From: Gary Gregory <garydgreg...@gmail.com> Sent: Tuesday, October 29, 2019 2:42:29 AM To: Commons Developers List <dev@commons.apache.org> Subject: [lang] immutable BitSet Hi All, Any thoughts for or against adding an ImmutableBitSet as a subclass of BitSet? It would throw an exception on attempt to mutate. I can then be used to define an EMPTY_BITSET constant. I could also be used in some of our methods that return a new empty bit set, if appropriate of course. Gary