As I remember there has been some discussion to abolish the Bags in
favor of Java collections as the performance advantage might be gone
with more recent JDKs.
Is this still a current debate?
I prefer to avoid casting wherever possible. Else one could maybe think
about typing Bags. Would that be possible?