java.lang.Object | +--org.apache.commons.collections.collection.AbstractCollectionDecorator | +--org.apache.commons.collections.set.AbstractSetDecorator | +--org.apache.commons.collections.set.AbstractSortedSetDecoratorAll Implemented Interfaces:
AbstractSortedSetDecorator(Set set) Constructor that wraps (not copies). |
Comparator | |
Object | first() |
SortedSet | Gets the sorted set being decorated. |
SortedSet | headSet(Object toElement) |
Object | last() |
SortedSet | subSet(Object fromElement, Object toElement) |
SortedSet | tailSet(Object fromElement) |
protected AbstractSortedSetDecorator(Set set)
- if set is nullpublic Comparator comparator()
public Object first()
protected SortedSet getSortedSet()
public SortedSet headSet(Object toElement)
public Object last()
public SortedSet subSet(Object fromElement, Object toElement)
public SortedSet tailSet(Object fromElement)
SortedSet
to provide additional behaviour. Methods are forwarded directly to the decorated set.