Class Group.MapKeyComparator

java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.Group.MapKeyComparator
All Implemented Interfaces:
Comparator<String>
Enclosing class:
Group

private static class Group.MapKeyComparator extends Object implements Comparator<String>
Since we need to sort the keys in the reverse order(longest key first), the compare method in the implementing class is doing the reverse comparison.
  • Constructor Details

    • MapKeyComparator

      private MapKeyComparator()
  • Method Details