It looks as though the methods were overridden solely so that different documentation could be provided.
For all three methods, the only difference in documentation is that the SortedMap
version adds "The set's iterator returns the entries in ascending key order." to the main description and "sorted in ascending key order" to the return value description.
P.S. The obvious follow-up question is why weren't these three method signatures simply changed to return SortedSet
instead of Set
. Unfortunately I can't come up with a reason for this, as the Java language seems to allow this sort of change, and the additional methods on SortedSet
seem trivial to implement.