public class HashBag extends DefaultMapBag implements Bag
Bag
that is backed by a HashMap
.Constructor and Description |
---|
HashBag()
Deprecated.
Constructs an empty
HashBag . |
HashBag(java.util.Collection coll)
Deprecated.
Constructs a
Bag containing all the members of the given
collection. |
add, add, addAll, clear, contains, containsAll, containsAll, equals, getCount, hashCode, isEmpty, iterator, remove, remove, removeAll, retainAll, retainAll, size, toArray, toArray, toString, uniqueSet
add, add, containsAll, getCount, iterator, remove, remove, removeAll, retainAll, size, uniqueSet
public HashBag()
HashBag
.public HashBag(java.util.Collection coll)
Bag
containing all the members of the given
collection.coll
- a collection to copy into this bag"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"