if (((String) problem.getChildItem(Problem.NAME)).isEqualTo(problemName)) {
if (((String) problem.getChild(Problem.NAME)).isEqualTo(problemName)) {
    public Problem getProblemByName(String problemName) {        Object[] problems = getProblems();        for (int i = 0; i < problems.length; i++) {            Problem problem = (Problem)problems[i];            if (((String) problem.getChildItem(Problem.NAME)).isEqualTo(problemName)) {                return problem;            }        }        return null;    }