view
Interface SortingMethod


public interface SortingMethod

This interface is implemented by if the developer wished to implement different sorting methods in the GUI.


Method Summary
 java.util.ArrayList<RankingResult> sortResults(java.util.ArrayList<RankingResult> toSort)
          This method sorts an incoming ArrayList of rankingResults based on some critera.
 

Method Detail

sortResults

java.util.ArrayList<RankingResult> sortResults(java.util.ArrayList<RankingResult> toSort)
This method sorts an incoming ArrayList of rankingResults based on some critera.

Parameters:
toSort - The ArrayList to be sorted
Returns:
The newly sorted ArrayList