Fixed some missed stuff
This commit is contained in:
1 parent
57721f292d
commit
fec8bfb5ca
3 files changed
+21
No files matched your search
@@ -7,6 +7,7 @@ package ca.bcit.comp2522.lab06;
|
|||||||
* @author Braeden Sowinski
|
* @author Braeden Sowinski
|
||||||
* @author Nico Agostini
|
* @author Nico Agostini
|
||||||
* @author Trishaan Shetty
|
* @author Trishaan Shetty
|
||||||
|
* @author Calvin Arifianto
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
*/
|
*/
|
||||||
public class HockeyPlayer {
|
public class HockeyPlayer {
|
||||||
|
|||||||
@@ -3,6 +3,17 @@ package ca.bcit.comp2522.lab06;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* HockeyTeam holds information of a
|
||||||
|
* hockey team composed by HockeyPlayers and the team's name.
|
||||||
|
*
|
||||||
|
* @author Braeden Sowinski
|
||||||
|
* @author Nico Agostini
|
||||||
|
* @author Trishaan Shetty
|
||||||
|
* @author Calvin Arifianto
|
||||||
|
* @version 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
public class HockeyTeam {
|
public class HockeyTeam {
|
||||||
private final String name;
|
private final String name;
|
||||||
private final List<HockeyPlayer> roster;
|
private final List<HockeyPlayer> roster;
|
||||||
|
|||||||
@@ -6,6 +6,15 @@ import java.util.Comparator;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.function.*;
|
import java.util.function.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Main class to instantiate and test the HockeyPlayer and HockeyTeam class.
|
||||||
|
*
|
||||||
|
* @author Braeden Sowinski
|
||||||
|
* @author Nico Agostini
|
||||||
|
* @author Trishaan Shetty
|
||||||
|
* @author Calvin Arifianto
|
||||||
|
* @version 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user