|
Keel 2.1RC2 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Bag | |
| org.apache.commons.collections | Java Collections Framework extensions. |
| Uses of Bag in org.apache.commons.collections |
| Subinterfaces of Bag in org.apache.commons.collections | |
interface |
SortedBagA type of Bag that maintains order among its unique representative members. |
| Classes in org.apache.commons.collections that implement Bag | |
(package private) static class |
BagUtils.PredicatedBag |
(package private) static class |
BagUtils.PredicatedSortedBag |
(package private) static class |
BagUtils.SynchronizedBag |
(package private) static class |
BagUtils.SynchronizedSortedBag |
(package private) static class |
BagUtils.UnmodifiableBag |
(package private) static class |
BagUtils.UnmodifiableSortedBag |
class |
DefaultMapBagThis class provides a skeletal implementation of the Bag interface to minimize the effort required for target implementations. |
class |
HashBagAn implementation of Bag that is backed by a HashMap. |
class |
TreeBagAn implementation of Bag that is backed by a TreeMap. |
| Methods in org.apache.commons.collections that return Bag | |
abstract Bag |
TestBag.makeBag()Return a new, empty Bag to used for testing. |
Bag |
TestHashBag.makeBag() |
Bag |
TestTreeBag.makeBag() |
static Bag |
BagUtils.predicatedBag(Bag bag, Predicate predicate)Returns a predicated bag backed by the given bag. |
static Bag |
BagUtils.unmodifiableBag(Bag bag)Returns an unmodifiable view of the given bag. |
static Bag |
BagUtils.synchronizedBag(Bag bag)Returns a synchronized (thread-safe) bag backed by the given bag. |
private Bag |
BagUtils.PredicatedBag.getBag() |
private Bag |
BagUtils.UnmodifiableBag.getBag() |
private Bag |
BagUtils.SynchronizedBag.getBag() |
| Methods in org.apache.commons.collections with parameters of type Bag | |
static Bag |
BagUtils.predicatedBag(Bag bag, Predicate predicate)Returns a predicated bag backed by the given bag. |
static Bag |
BagUtils.unmodifiableBag(Bag bag)Returns an unmodifiable view of the given bag. |
static Bag |
BagUtils.synchronizedBag(Bag bag)Returns a synchronized (thread-safe) bag backed by the given bag. |
boolean |
DefaultMapBag.containsAll(Bag other)Returns true if the bag contains all elements in the given collection, respecting cardinality. |
boolean |
DefaultMapBag.retainAll(Bag other)Remove any members of the bag that are not in the given bag, respecting cardinality. |
| Constructors in org.apache.commons.collections with parameters of type Bag | |
BagUtils.PredicatedBag(Bag b, Predicate p) |
|
BagUtils.UnmodifiableBag(Bag bag) |
|
BagUtils.SynchronizedBag(Bag bag) |
|
|
Keel 2.1RC2 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||