text: public NavigableSet<E> headSet(E end, boolean endInclusive) {Comparator<? super E> c = backingMap.comparator();if (c == null) {((Comparable<E>) end).compareTo(end);} else {c.compare(end, end);}return new TreeSet<E>(backingMap.headMap(end, endInclusive));}