Class CommandLine.Help.SortByOptionArityAndNameAlphabetically
java.lang.Object
org.apache.logging.log4j.core.tools.picocli.CommandLine.Help.SortByShortestOptionNameAlphabetically
org.apache.logging.log4j.core.tools.picocli.CommandLine.Help.SortByOptionArityAndNameAlphabetically
- All Implemented Interfaces:
Comparator<Field>
- Enclosing class:
CommandLine.Help
static class CommandLine.Help.SortByOptionArityAndNameAlphabetically
extends CommandLine.Help.SortByShortestOptionNameAlphabetically
Sorts
Option instances by their max arity first, then their min arity, then delegates to super class.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SortByOptionArityAndNameAlphabetically
SortByOptionArityAndNameAlphabetically()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Field>- Overrides:
comparein classCommandLine.Help.SortByShortestOptionNameAlphabetically
-