public class HashBag extends DefaultMapBag implements Bag
Bag
that is backed by a HashMap
.Constructor and Description |
---|
HashBag()
Constructs a new empty
HashBag . |
HashBag(java.util.Collection c)
New
Bag containing all the members of the given
collection. |
add, add, addAll, calcTotalSize, clear, contains, containsAll, containsAll, equals, getCount, getMap, hashCode, isEmpty, iterator, remove, remove, removeAll, retainAll, retainAll, setMap, size, toArray, toArray, toString, uniqueSet
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public HashBag()
HashBag
.public HashBag(java.util.Collection c)
Bag
containing all the members of the given
collection.Copyright © 2001-2004 Apache Software Foundation. Documenation generated May 18 2012.