commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject [lang] immutable BitSet
Date Mon, 28 Oct 2019 18:42:29 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message