java.lang.Object | +--org.apache.commons.collections.collection.AbstractCollectionDecorator | +--org.apache.commons.collections.set.AbstractSetDecorator | +--org.apache.commons.collections.set.AbstractSortedSetDecorator | +--org.apache.commons.collections.set.UnmodifiableSortedSetAll Implemented Interfaces:
boolean | add(Object object) |
boolean | addAll(Collection coll) |
void | clear() |
static SortedSet | decorate(SortedSet set) Factory method to create an unmodifiable set. |
SortedSet | headSet(Object toElement) |
Iterator | iterator() |
boolean | remove(Object object) |
boolean | removeAll(Collection coll) |
boolean | retainAll(Collection coll) |
SortedSet | subSet(Object fromElement, Object toElement) |
SortedSet | tailSet(Object fromElement) |
public boolean add(Object object)
public boolean addAll(Collection coll)
public void clear()
public static SortedSet decorate(SortedSet set)
- if set is nullpublic SortedSet headSet(Object toElement)
public Iterator iterator()
public boolean remove(Object object)
public boolean removeAll(Collection coll)
public boolean retainAll(Collection coll)
public SortedSet subSet(Object fromElement, Object toElement)
public SortedSet tailSet(Object fromElement)
SortedSet
to ensure it can't be altered.