public class HashBag extends DefaultMapBag implements Bag
| Constructor and Description |
|---|
HashBag()
Deprecated.
Constructs an empty
HashBag. |
HashBag(Collection coll)
Deprecated.
Constructs a
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, uniqueSetclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic HashBag()
HashBag.public HashBag(Collection coll)
Bag containing all the members of the given
collection.coll - a collection to copy into this bagCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.