commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gillese...@gmail.com>
Subject Re: [lang] immutable BitSet
Date Mon, 28 Oct 2019 21:33:10 GMT
Hi.

2019-10-28 20:38 UTC+01:00, Xeno Amess <xenoamess@gmail.com>:
> Then all ImmutableBitSet instance are instance of a mutable BitSet class
> when we use instance of.
> I just worry that could be kind of misleading sometimes.
>

I agree with that remark.
Having "ImmutableBitSet" inherit from "BitSet" breaks the latter's contract.

Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message