|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsimulations.xml.DataChecker
public class DataChecker
This class describes a check that will check the data return from the parser
| Constructor Summary | |
|---|---|
DataChecker()
Creates a new instance of DataChecker |
|
| Method Summary | |
|---|---|
boolean |
checkName(java.util.ArrayList l)
Return false is there is two times the same name in the player list l |
boolean |
checkName(java.util.ArrayList l,
java.lang.String s)
return false if the name s is already in the player's list l |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataChecker()
| Method Detail |
|---|
public boolean checkName(java.util.ArrayList l,
java.lang.String s)
l - The player's lists - The name
public boolean checkName(java.util.ArrayList l)
l - The player's list
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||