static class CommandLine.Help.SortByShortestOptionNameAlphabetically
extends java.lang.Object
implements java.util.Comparator<java.lang.reflect.Field>
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.| Constructor and Description |
|---|
SortByShortestOptionNameAlphabetically() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.reflect.Field f1,
java.lang.reflect.Field f2) |