|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hoplugins.teamAnalyzer.util.MatchUtil
Match Utility Class
Constructor Summary | |
MatchUtil()
|
Method Summary | |
static java.lang.String |
getMatchType(int type)
Returns the description code for the match type |
static boolean |
isHome(plugins.IMatchDetails match)
Check if the match is an homeMatch for the selected team |
static boolean |
isHome(Match match)
Check if the match is an homeMatch for the selected team |
static int |
result(plugins.IMatchDetails match)
Returns the result type, as 0 for draw, 1 for wins and -1 for defeat |
static int |
result(Match match)
Returns the result type, as 0 for draw, 1 for wins and -1 for defeat |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MatchUtil()
Method Detail |
public static boolean isHome(Match match)
match
- Match to be analyzed
public static boolean isHome(plugins.IMatchDetails match)
match
- IMatchDetails to be analyzed
public static java.lang.String getMatchType(int type)
type
- int type of match
public static int result(Match match)
match
- Match to be analyzed
public static int result(plugins.IMatchDetails match)
match
- IMatchDetails to be analyzed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |