bsoc.division
Class DTableEntry
java.lang.Object
|
+--bsoc.division.DTableEntry
- public class DTableEntry
- extends java.lang.Object
- implements Comparable, java.io.Serializable
Holds the results of one team of a division.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DTableEntry
public DTableEntry(Team t,
int id)
isGreaterThan
public boolean isGreaterThan(Comparable o)
- Specified by:
- isGreaterThan in interface Comparable
addMatchResult
public void addMatchResult(int myGoals,
int theirGoals)
getPoints
public int getPoints()
getMatchesWon
public int getMatchesWon()
getMatchesEven
public int getMatchesEven()
getMatchesLost
public int getMatchesLost()
getGoalsGot
public int getGoalsGot()
getGoalsShot
public int getGoalsShot()
getMatchCount
public int getMatchCount()
getTeamId
public int getTeamId()
getTeam
public Team getTeam()
toInfoString
public java.lang.String toInfoString()
equals
public boolean equals(java.lang.Object o)
- Overrides:
- equals in class java.lang.Object