Package picocli
Class CommandLine.PositionalParametersSorter
- java.lang.Object
-
- picocli.CommandLine.PositionalParametersSorter
-
- All Implemented Interfaces:
java.util.Comparator<CommandLine.Model.ArgSpec>
- Enclosing class:
- CommandLine
static class CommandLine.PositionalParametersSorter extends java.lang.Object implements java.util.Comparator<CommandLine.Model.ArgSpec>
-
-
Field Summary
Fields Modifier and Type Field Description private static CommandLine.Range
OPTION_INDEX
-
Constructor Summary
Constructors Constructor Description PositionalParametersSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(CommandLine.Model.ArgSpec p1, CommandLine.Model.ArgSpec p2)
private CommandLine.Range
index(CommandLine.Model.ArgSpec arg)
-
-
-
Field Detail
-
OPTION_INDEX
private static final CommandLine.Range OPTION_INDEX
-
-
Method Detail
-
compare
public int compare(CommandLine.Model.ArgSpec p1, CommandLine.Model.ArgSpec p2)
- Specified by:
compare
in interfacejava.util.Comparator<CommandLine.Model.ArgSpec>
-
index
private CommandLine.Range index(CommandLine.Model.ArgSpec arg)
-
-