docs: public SortedMap headMap(Object endKey) {
          // Check for errors
          if (comparator == null)
              ((Comparable) endKey).compareTo(endKey);
          else
              comparator.compare(endKey, endKey);
          return makeSubMap(null, endKey);
      }