Uses of Interface
org.apache.commons.collections.SortedBag
-
Packages that use SortedBag Package Description org.apache.commons.collections This package contains the interfaces and utilities shared across all the subpackages of this component.org.apache.commons.collections.bag -
-
Uses of SortedBag in org.apache.commons.collections
Classes in org.apache.commons.collections that implement SortedBag Modifier and Type Class Description classTreeBagDeprecated.Moved to bag subpackage and rewritten internally.Methods in org.apache.commons.collections that return SortedBag Modifier and Type Method Description static SortedBagBagUtils. predicatedSortedBag(SortedBag bag, Predicate predicate)Returns a predicated (validating) sorted bag backed by the given sorted bag.static SortedBagBagUtils. synchronizedSortedBag(SortedBag bag)Returns a synchronized (thread-safe) sorted bag backed by the given sorted bag.static SortedBagBagUtils. transformedSortedBag(SortedBag bag, Transformer transformer)Returns a transformed sorted bag backed by the given bag.static SortedBagBagUtils. typedSortedBag(SortedBag bag, Class type)Returns a typed sorted bag backed by the given bag.static SortedBagBagUtils. unmodifiableSortedBag(SortedBag bag)Returns an unmodifiable view of the given sorted bag.Methods in org.apache.commons.collections with parameters of type SortedBag Modifier and Type Method Description static SortedBagBagUtils. predicatedSortedBag(SortedBag bag, Predicate predicate)Returns a predicated (validating) sorted bag backed by the given sorted bag.static SortedBagBagUtils. synchronizedSortedBag(SortedBag bag)Returns a synchronized (thread-safe) sorted bag backed by the given sorted bag.static SortedBagBagUtils. transformedSortedBag(SortedBag bag, Transformer transformer)Returns a transformed sorted bag backed by the given bag.static SortedBagBagUtils. typedSortedBag(SortedBag bag, Class type)Returns a typed sorted bag backed by the given bag.static SortedBagBagUtils. unmodifiableSortedBag(SortedBag 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 Modifier and Type Class Description classAbstractSortedBagDecoratorDecorates anotherSortedBagto provide additional behaviour.classPredicatedSortedBagDecorates anotherSortedBagto validate that additions match a specified predicate.classSynchronizedSortedBagDecorates anotherSortedBagto synchronize its behaviour for a multi-threaded environment.classTransformedSortedBagDecorates anotherSortedBagto transform objects that are added.classTreeBagImplementsSortedBag, using aTreeMapto provide the data storage.classUnmodifiableSortedBagDecorates anotherSortedBagto ensure it can't be altered.Methods in org.apache.commons.collections.bag that return SortedBag Modifier and Type Method Description static SortedBagPredicatedSortedBag. decorate(SortedBag bag, Predicate predicate)Factory method to create a predicated (validating) bag.static SortedBagSynchronizedSortedBag. decorate(SortedBag bag)Factory method to create a synchronized sorted bag.static SortedBagTransformedSortedBag. decorate(SortedBag bag, Transformer transformer)Factory method to create a transforming sorted bag.static SortedBagTypedSortedBag. decorate(SortedBag bag, Class type)Factory method to create a typed sorted bag.static SortedBagUnmodifiableSortedBag. decorate(SortedBag bag)Factory method to create an unmodifiable bag.protected SortedBagAbstractSortedBagDecorator. getSortedBag()Gets the bag being decorated.protected SortedBagPredicatedSortedBag. getSortedBag()Gets the decorated sorted bag.protected SortedBagSynchronizedSortedBag. getSortedBag()Gets the bag being decorated.protected SortedBagTransformedSortedBag. getSortedBag()Gets the decorated bag.Methods in org.apache.commons.collections.bag with parameters of type SortedBag Modifier and Type Method Description static SortedBagPredicatedSortedBag. decorate(SortedBag bag, Predicate predicate)Factory method to create a predicated (validating) bag.static SortedBagSynchronizedSortedBag. decorate(SortedBag bag)Factory method to create a synchronized sorted bag.static SortedBagTransformedSortedBag. decorate(SortedBag bag, Transformer transformer)Factory method to create a transforming sorted bag.static SortedBagTypedSortedBag. decorate(SortedBag bag, Class type)Factory method to create a typed sorted bag.static SortedBagUnmodifiableSortedBag. decorate(SortedBag bag)Factory method to create an unmodifiable bag.Constructors in org.apache.commons.collections.bag with parameters of type SortedBag Constructor Description AbstractSortedBagDecorator(SortedBag bag)Constructor that wraps (not copies).PredicatedSortedBag(SortedBag bag, Predicate predicate)Constructor that wraps (not copies).SynchronizedSortedBag(SortedBag bag)Constructor that wraps (not copies).TransformedSortedBag(SortedBag bag, Transformer transformer)Constructor that wraps (not copies).
-