Code example for SortedSet

Methods: headSet

0
	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() { 
		return set.last();
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE