1 package org
.argeo
.slc
.core
.test
.tree
;
3 import java
.util
.SortedSet
;
4 import java
.util
.TreeSet
;
6 public class TreeTestResultCollection
implements
7 Comparable
<TreeTestResultCollection
> {
9 private SortedSet
<TreeTestResult
> results
= new TreeSet
<TreeTestResult
>();
11 public TreeTestResultCollection() {
14 public TreeTestResultCollection(String id
) {
18 public String
getId() {
22 public void setId(String id
) {
26 public SortedSet
<TreeTestResult
> getResults() {
30 public void setResults(SortedSet
<TreeTestResult
> results
) {
31 this.results
= results
;
34 public int compareTo(TreeTestResultCollection o
) {
35 return getId().compareTo(o
.getId());
39 public boolean equals(Object o
) {
40 if (o
instanceof TreeTestResultCollection
) {
41 return getId().equals(((TreeTestResultCollection
) o
).getId());