- All Implemented Interfaces:
- java.util.Comparator<java.lang.reflect.Field>
- Direct Known Subclasses:
- CommandLine.Help.SortByOptionArityAndNameAlphabetically
- Enclosing class:
- CommandLine.Help
static class CommandLine.Help.SortByShortestOptionNameAlphabetically
extends java.lang.Object
implements java.util.Comparator<java.lang.reflect.Field>
Sorts Option
instances by their name in case-insensitive alphabetic order. If an Option has
multiple names, the shortest name is used for the sorting. Help options follow non-help options.