I can't figure out why JCF (Java Collection Framework) does't have a Bag
implementation(to allow duplicates and not maintain order).
Bag
performance would be much better than current Collection implementations in JCF.
- I know how to implement
Bag
in Java. - I know
Bag
is available in Apache commons. - I know there are other implementations that can be used as a
Bag
but there is so much work to do in other implementations compared to aBag
.
Why has the Java Collections framework not provided direct implementations like this?