@SuppressWarnings("unchecked") public SortedSet<E> subSet(E start,E end){
  return subSet(start,true,end,false);
}

@ SuppressWarnings ( "unchecked" ) public SortedSet < E > subSet ( E start , E end ) { return subSet ( start , true , end , false ) ; }
answers a sortedset of the specified portion of this treeset which contains elements greater or equal to the start element but less than the end element . the returned sortedset is backed by this treeset so changes to one are reflected by the other .
