import java.util.ArrayList;
import java.util.List;

public class Stat {
    public String server;
    public List<String> items;

    public Stat () {
        this.server = new String();
        this.items = new ArrayList<String>();
    }

    public String toString() {
        String str = new String();
        str = str.concat("{ " + server + ", { ");
        int i = 0;
        for (i = 0; i < items.size() - 1; i++)
            str = str.concat(items.get(i) + ", ");
        str = str.concat(items.get(i) + " } }");
        return str;
    }
}
@@ -138,17 +138,16 @@
 lic Stat
- 
 () %7B%0A   
@@ -232,16 +232,134 @@
 %0A    %7D%0A%0A
+    public Stat(String server, List%3CString%3E items) %7B%0A        this.server = server;%0A        this.items = items;%0A    %7D%0A%0A
     publ
@@ -398,17 +398,18 @@
 tring st
-r
+at
  = new S
@@ -419,39 +419,41 @@
 ng();%0A        st
-r
+at
  = st
-r
+at
 .concat(%22%7B %22 + s
@@ -541,39 +541,41 @@
 )%0A            st
-r
+at
  = st
-r
+at
 .concat(items.ge
@@ -602,15 +602,17 @@
   st
-r
+at
  = st
-r
+at
 .con
@@ -656,17 +656,18 @@
 eturn st
-r
+at
 ;%0A    %7D%0A

Add new Constructor