Uses of Interface
org.apache.commons.collections.Bag

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 SortedBag
          A type of Bag that maintains order among its unique representative members.
 

Classes in org.apache.commons.collections that implement Bag
 class DefaultMapBag
          This class provides a skeletal implementation of the Bag interface to minimize the effort required for target implementations.
 class HashBag
          An implementation of Bag that is backed by a HashMap.
 class TreeBag
          An implementation of Bag that is backed by a TreeMap.
 

Methods in org.apache.commons.collections that return 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.
 

Methods in org.apache.commons.collections with parameters of type 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.
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.
 



Copyright © 2001-2004 The Apache Software Foundation. All Rights Reserved.