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

Packages that use SortedBag
org.apache.commons.collections This package contains the interfaces and utilities shared across all the subpackages of this component. 
org.apache.commons.collections.bag This package contains implementations of the Bag and SortedBag interfaces. 
 

Uses of SortedBag in org.apache.commons.collections
 

Methods in org.apache.commons.collections that return SortedBag
static
<E> SortedBag<E>
BagUtils.predicatedSortedBag(SortedBag<E> bag, Predicate<? super E> predicate)
          Returns a predicated (validating) sorted bag backed by the given sorted bag.
static
<E> SortedBag<E>
BagUtils.synchronizedSortedBag(SortedBag<E> bag)
          Returns a synchronized (thread-safe) sorted bag backed by the given sorted bag.
static
<I,O> SortedBag<O>
BagUtils.transformedSortedBag(SortedBag<I> bag, Transformer<I,O> transformer)
          Deprecated. This breaks the java.util.Collection interface in Java 1.5. It is recommended that it not be used.
static
<E> SortedBag<E>
BagUtils.typedSortedBag(SortedBag<E> bag, Class<E> type)
          Deprecated. Java 1.5 generics makes this method no longer useful.
static
<E> SortedBag<E>
BagUtils.unmodifiableSortedBag(SortedBag<E> bag)
          Returns an unmodifiable view of the given sorted bag.
 

Methods in org.apache.commons.collections with parameters of type SortedBag
static
<E> SortedBag<E>
BagUtils.predicatedSortedBag(SortedBag<E> bag, Predicate<? super E> predicate)
          Returns a predicated (validating) sorted bag backed by the given sorted bag.
static
<E> SortedBag<E>
BagUtils.synchronizedSortedBag(SortedBag<E> bag)
          Returns a synchronized (thread-safe) sorted bag backed by the given sorted bag.
static
<I,O> SortedBag<O>
BagUtils.transformedSortedBag(SortedBag<I> bag, Transformer<I,O> transformer)
          Deprecated. This breaks the java.util.Collection interface in Java 1.5. It is recommended that it not be used.
static
<E> SortedBag<E>
BagUtils.typedSortedBag(SortedBag<E> bag, Class<E> type)
          Deprecated. Java 1.5 generics makes this method no longer useful.
static
<E> SortedBag<E>
BagUtils.unmodifiableSortedBag(SortedBag<E> bag)
          Returns an unmodifiable view of the given sorted bag.
 

Uses of SortedBag in org.apache.commons.collections.bag
 

Classes in org.apache.commons.collections.bag that implement SortedBag
 class AbstractSortedBagDecorator<E>
          Decorates another SortedBag to provide additional behaviour.
 class PredicatedSortedBag<E>
          Decorates another SortedBag to validate that additions match a specified predicate.
 class SynchronizedSortedBag<E>
          Decorates another SortedBag to synchronize its behaviour for a multi-threaded environment.
 class TransformedSortedBag
          Decorates another SortedBag to transform objects that are added.
 class TreeBag<E>
          Implements SortedBag, using a TreeMap to provide the data storage.
 class UnmodifiableSortedBag<E>
          Decorates another SortedBag to ensure it can't be altered.
 

Methods in org.apache.commons.collections.bag that return SortedBag
static
<E> SortedBag<E>
UnmodifiableSortedBag.decorate(SortedBag<E> bag)
          Factory method to create an unmodifiable bag.
static
<E> SortedBag<E>
SynchronizedSortedBag.decorate(SortedBag<E> bag)
          Factory method to create a synchronized sorted bag.
static
<E> SortedBag<E>
TypedSortedBag.decorate(SortedBag<E> bag, Class<E> type)
          Factory method to create a typed sorted bag.
static
<E> SortedBag<E>
PredicatedSortedBag.decorate(SortedBag<E> bag, Predicate<? super E> predicate)
          Factory method to create a predicated (validating) bag.
static
<I,O> SortedBag<O>
TransformedSortedBag.decorate(SortedBag<I> bag, Transformer<? super I,? extends O> transformer)
          Factory method to create a transforming sorted bag.
protected  SortedBag TransformedSortedBag.getSortedBag()
          Gets the decorated bag.
protected  SortedBag<E> SynchronizedSortedBag.getSortedBag()
          Gets the bag being decorated.
protected  SortedBag<E> PredicatedSortedBag.getSortedBag()
          Gets the decorated sorted bag.
protected  SortedBag<E> AbstractSortedBagDecorator.getSortedBag()
          Gets the bag being decorated.
 

Methods in org.apache.commons.collections.bag with parameters of type SortedBag
static
<E> SortedBag<E>
UnmodifiableSortedBag.decorate(SortedBag<E> bag)
          Factory method to create an unmodifiable bag.
static
<E> SortedBag<E>
SynchronizedSortedBag.decorate(SortedBag<E> bag)
          Factory method to create a synchronized sorted bag.
static
<E> SortedBag<E>
TypedSortedBag.decorate(SortedBag<E> bag, Class<E> type)
          Factory method to create a typed sorted bag.
static
<E> SortedBag<E>
PredicatedSortedBag.decorate(SortedBag<E> bag, Predicate<? super E> predicate)
          Factory method to create a predicated (validating) bag.
static
<I,O> SortedBag<O>
TransformedSortedBag.decorate(SortedBag<I> bag, Transformer<? super I,? extends O> transformer)
          Factory method to create a transforming sorted bag.
 

Constructors in org.apache.commons.collections.bag with parameters of type SortedBag
AbstractSortedBagDecorator(SortedBag<E> bag)
          Constructor that wraps (not copies).
PredicatedSortedBag(SortedBag<E> bag, Predicate<? super E> predicate)
          Constructor that wraps (not copies).
SynchronizedSortedBag(SortedBag<E> bag)
          Constructor that wraps (not copies).
TransformedSortedBag(SortedBag bag, Transformer transformer)
          Constructor that wraps (not copies).
 



Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.