static class CommandLine.Help.SortByOptionArityAndNameAlphabetically extends CommandLine.Help.SortByShortestOptionNameAlphabetically
Option
instances by their max arity first, then their min arity, then delegates to super class.Constructor and Description |
---|
SortByOptionArityAndNameAlphabetically() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.reflect.Field f1,
java.lang.reflect.Field f2) |
public int compare(java.lang.reflect.Field f1, java.lang.reflect.Field f2)
compare
in interface java.util.Comparator<java.lang.reflect.Field>
compare
in class CommandLine.Help.SortByShortestOptionNameAlphabetically