Created
July 11, 2015 18:02
-
-
Save WenhaoWu/c78859315b79a4d83f3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
import nhlstats.NHLStatistics; | |
public class Main { | |
public static void main(String[] args) { | |
Scanner reader = new Scanner(System.in); | |
System.out.println("Top ten by goals"); | |
NHLStatistics.sortByGoals(); | |
NHLStatistics.top(10); | |
System.out.println("Top 25 by penalty"); | |
NHLStatistics.sortByPenalties(); | |
NHLStatistics.top(25); | |
NHLStatistics.searchByPlayer("Slidny Crosby"); | |
NHLStatistics.teamStatistics("PHI"); | |
NHLStatistics.sortByPoints(); | |
NHLStatistics.teamStatistics("ANA"); | |
NHLStatistics.sortByPoints(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment