org.apache.commons.collections
Interface SortedBag

public interface SortedBag
extends Bag
Defines a type of Bag that maintains a sorted order among its unique representative members.
SinceCommons Co
Version$Revision:
AuthorChuck Burdick
Wiki javadoc Use textile entry format.
Add your comments here.
Method Summary
Comparator comparator()
Returns the comparator associated with this sorted set, or null if it uses its elements' natural ordering.
Object first()
Returns the first (lowest) member.
Object last()
Returns the last (highest) member.
Methods inherited from java.langIterable
comparator
public Comparator comparator ( )
Returns the comparator associated with this sorted set, or null if it uses its elements' natural ordering.
Wiki javadoc Use textile entry format.
Add your comments here.
first
public Object first ( )
Returns the first (lowest) member.
Wiki javadoc Use textile entry format.
Add your comments here.
last
public Object last ( )
Returns the last (highest) member.
Wiki javadoc Use textile entry format.
Add your comments here.