Class ResultSorter
java.lang.Object
com.github.mafelp.minecraft.tabCompleters.ResultSorter
A class that sorts tab completion results.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResultSorter
public ResultSorter()
-
-
Method Details
-
sortedResults
A method that sorts the results provided in the second argument alphabetically and after what has already been typed (first argument).- Parameters:
arg
- The string that has already been typed.results
- The results to be sorted.- Returns:
- The sorted results.
-