summaryrefslogtreecommitdiff
blob: b89aae2f7b6613fa0c3d43dd89bafc574a64988e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff -ur /var/tmp/portage/dev-java/json-simple-20080420/work/json_simple/src/org/json/simple/JSONArray.java work/org/json/simple/JSONArray.java
--- /var/tmp/portage/dev-java/json-simple-20080420/work/json_simple/src/org/json/simple/JSONArray.java	2006-04-16 04:04:24.000000000 +0300
+++ work/org/json/simple/JSONArray.java	2007-06-04 17:43:56.000000000 +0300
@@ -12,6 +13,18 @@
  * @author FangYidong<fangyidong@yahoo.com.cn>
  */
 public class JSONArray extends ArrayList {
+	public JSONArray() {
+		super();
+	}
+
+	public JSONArray(java.util.Collection arg0) {
+		super(arg0);
+	}
+
+	public JSONArray(int initialCapacity) {
+		super(initialCapacity);
+	}
+
 	public String toString(){
 		ItemList list=new ItemList();
 		
diff -ur /var/tmp/portage/dev-java/json-simple-20080420/work/json_simple/src/org/json/simple/JSONObject.java work/org/json/simple/JSONObject.java
--- /var/tmp/portage/dev-java/json-simple-20080420/work/json_simple/src/org/json/simple/JSONObject.java	2006-04-16 11:26:38.000000000 +0300
+++ work/org/json/simple/JSONObject.java	2007-06-04 17:43:56.000000000 +0300
@@ -13,6 +13,22 @@
  */
 public class JSONObject extends HashMap{
 	
+	public JSONObject() {
+		super();
+	}
+
+	public JSONObject(int initialCapacity, float loadFactor) {
+		super(initialCapacity, loadFactor);
+	}
+
+	public JSONObject(int initialCapacity) {
+		super(initialCapacity);
+	}
+
+	public JSONObject(Map arg0) {
+		super(arg0);
+	}
+
 	public String toString(){
 		ItemList list=new ItemList();
 		Iterator iter=entrySet().iterator();