return buffer.toString();
}
public String getProblemvalueNotByGroup(Long userId, ArrayList problemvalues) {
StringBuffer buffer = new StringBuffer();
ProblemvalueEvaluation pve = new ProblemvalueEvaluation();
Problemvalue pv = new Problemvalue();
if (problemvalues.size() > 0) {
for (int i = 0; i < problemvalues.size(); i++) {
pv = (Problemvalue) problemvalues.get(i);
buffer
.append("<div class=\"f14 p90 pl10\" class=\"answer_content\">"
+ pv.getProblemvalueContent() + "</div>");
boolean flag = true;
int j = 0;
ArrayList pves = pv.getProblemvalueEvaluations();
while (flag == true && j < pves.size()) {
pve = (ProblemvalueEvaluation) pves.get(j);
if (pve.getCreatorId().intValue() == userId.intValue()) {
flag = false;
}
j++;
}