A {@link Bag} stores each object in the collection together with acount of occurrences. Extra methods on the interface allow multiple copies of an object to be added or removed at once. It is important to read the interface javadoc carefully as several methods violate the {@link Collection} interface specification. @since 3.0 (previously in main package v2.0) @version $Id: HashBag.java 1477752 2013-04-30 18:21:52Z tn $
|
|