Methods Summary |
---|
public void | addResult(Test test)
Vector resultsVector = (Vector) _resultsTable.get(test.accountName);
if (null == resultsVector) {
resultsVector = new Vector();
_resultsTable.put(test.accountName, resultsVector);
_accountNames.add(test.accountName);
}
resultsVector.add(test);
|
public java.util.Collection | getAccountNames()
return _accountNames;
|
public java.util.Collection | getResultsForAccount(java.lang.String accountName)
return (Collection) _resultsTable.get(accountName);
|
public void | sortResults()
Collections.sort(_accountNames);
Iterator valueVectors = (_resultsTable.values()).iterator();
while (valueVectors.hasNext()) {
Vector nextVector = (Vector) valueVectors.next();
Collections.sort(nextVector);
}
return;
|