org.apache.commons.collections.bag
Class AbstractSortedBagDecorator
- Bag, Collection, Bag, SortedBag
public abstract class AbstractSortedBagDecorator
Decorates another
SortedBag
to provide additional behaviour.
Methods are forwarded directly to the decorated bag.
Version:
- Stephen Colebourne
- Commons Collections 3.0
add , addAll , clear , contains , containsAll , equals , getCollection , hashCode , isEmpty , iterator , remove , removeAll , retainAll , size , toArray , toArray , toString |
AbstractSortedBagDecorator
protected AbstractSortedBagDecorator()
Constructor only used in deserialization, do not use otherwise.
- Commons Collections 3.1
AbstractSortedBagDecorator
protected AbstractSortedBagDecorator(SortedBag bag)
Constructor that wraps (not copies).
bag
- the bag to decorate, must not be null
getSortedBag
protected SortedBag getSortedBag()
Gets the bag being decorated.
- the decorated bag
Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.