public String toConsoleString() { StringBuffer strbuffer = new StringBuffer(); for (LocalHistoryPO historyPO : this.localHistoryPOs) { strbuffer.append(historyPO.toConsoleString()); strbuffer.append("\n"); } return strbuffer.toString(); }
public boolean addLocalHistoryPO(LocalHistoryPO localHistoryPO) { localHistoryPOs.add(localHistoryPO); if (localHistoryPO.getMaxDoubleHit() > maxDoubleHit) { maxDoubleHit = localHistoryPO.getMaxDoubleHit(); } if (localHistoryPO.getScore() > maxScore) { this.maxScore = localHistoryPO.getScore(); } totalScore += localHistoryPO.getScore(); count += 1; return true; }