java.lang.Object | +--org.apache.commons.collections.DefaultMapBag | +--org.apache.commons.collections.TreeBagAll Implemented Interfaces:
TreeBag() Constructs an empty TreeBag. |
TreeBag(Comparator comparator) Constructs an empty Bag that maintains order on its unique representative members according to the given Comparator. |
TreeBag(Collection coll) Constructs a Bag containing all the members of the given collection. |
Comparator | |
Object | first() |
Object | last() |
public TreeBag()
TreeBag
.
public TreeBag(Collection coll)
public TreeBag(Comparator comparator)
public Comparator comparator()
public Object first()
public Object last()