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