java.lang.Object | +--org.apache.commons.collections.collection.AbstractCollectionDecorator | +--org.apache.commons.collections.bag.AbstractBagDecorator | +--org.apache.commons.collections.bag.AbstractSortedBagDecoratorAll Implemented Interfaces:
AbstractSortedBagDecorator(SortedBag bag) Constructor that wraps (not copies). |
Comparator | |
Object | first() |
Gets the bag being decorated. | |
Object | last() |
protected AbstractSortedBagDecorator(SortedBag bag)
- if list is nullpublic Comparator comparator()
public Object first()
protected SortedBag getSortedBag()
public Object last()
SortedBag
to provide additional behaviour. Methods are forwarded directly to the decorated bag.