Code example for SortedSet

Methods: subSet

0
		subSet.setObservers(getObservers());
		return subSet;
	} 
 
	public SortedSet<E> subSet(E fromElement, E toElement) {
		return doSub(set.subSet(fromElement, toElement));
	} 
 
	public SortedSet<E> headSet(E toElement) {
		return doSub(set.headSet(toElement));
	} 
 
	public SortedSet<E> tailSet(E fromElement) {
		return doSub(set.tailSet(fromElement));
	} 
 
	public E first() { 
		return set.first();
	} 
 
	public E last() {