Sunbit v2.4.4版本的 MD5 值为:a5021e5e2a58eb1d6741b432fe7533c4

以下内容为反编译后的 n.java 源代码,内容仅作参考


package q.e;

import androidx.constraintlayout.core.motion.utils.TypedValues;
import d.b.f.u.x;
import io.bibeex.contract.common.c;
import java.io.PrintStream;
import java.io.StringWriter;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import k.c3.w.p0;
public class n {

    class a implements j {
        public String f22527a;
        public double b;
        public boolean c;

        public a(String str, double d2, boolean z) {
            this.f22527a = str;
            this.b = d2;
            this.c = z;
        }

        public String a() {
            return "All uppercase key";
        }

        public double b() {
            return this.b;
        }

        public String c() {
            return this.f22527a;
        }

        public String d() {
            return "x";
        }

        public boolean e() {
            return this.c;
        }

        @Override
        public String toJSONString() {
            return x.D + i.quote(this.f22527a) + x.H + i.doubleToString(this.b) + x.E;
        }

        public String toString() {
            return c() + x.f9733p + b() + x.f9733p + e() + x.f9735r + a() + x.f9733p + d();
        }
    }

    public static void a(String[] strArr) {
        f fVar;
        Exception exc;
        i iVar;
        a aVar = new a("A beany object", 42.0d, true);
        try {
            System.out.println(o.c("<![CDATA[This is a collection of test patterns and examples for org.json.]]>  Ignore the stuff past the end.  ").toString());
            i iVar2 = new i("{     \"list of lists\" : [         [1, 2, 3],         [4, 5, 6],     ] }");
            System.out.println(iVar2.toString(4));
            System.out.println(o.a(iVar2));
            System.out.println(o.c("<recipe name=\"bread\" prep_time=\"5 mins\" cook_time=\"3 hours\"> <title>Basic bread</title> <ingredient amount=\"8\" unit=\"dL\">Flour</ingredient> <ingredient amount=\"10\" unit=\"grams\">Yeast</ingredient> <ingredient amount=\"4\" unit=\"dL\" state=\"warm\">Water</ingredient> <ingredient amount=\"1\" unit=\"teaspoon\">Salt</ingredient> <instructions> <step>Mix all ingredients together.</step> <step>Knead thoroughly.</step> <step>Cover with a cloth, and leave for one hour in warm room.</step> <step>Knead again.</step> <step>Place in a bread baking tin.</step> <step>Cover with a cloth, and leave for one hour in warm room.</step> <step>Bake in the oven at 180(degrees)C for 30 minutes.</step> </instructions> </recipe> ").toString(4));
            System.out.println();
            i b = h.b("<recipe name=\"bread\" prep_time=\"5 mins\" cook_time=\"3 hours\"> <title>Basic bread</title> <ingredient amount=\"8\" unit=\"dL\">Flour</ingredient> <ingredient amount=\"10\" unit=\"grams\">Yeast</ingredient> <ingredient amount=\"4\" unit=\"dL\" state=\"warm\">Water</ingredient> <ingredient amount=\"1\" unit=\"teaspoon\">Salt</ingredient> <instructions> <step>Mix all ingredients together.</step> <step>Knead thoroughly.</step> <step>Cover with a cloth, and leave for one hour in warm room.</step> <step>Knead again.</step> <step>Place in a bread baking tin.</step> <step>Cover with a cloth, and leave for one hour in warm room.</step> <step>Bake in the oven at 180(degrees)C for 30 minutes.</step> </instructions> </recipe> ");
            System.out.println(b.toString());
            System.out.println(h.a(b));
            System.out.println();
            f a2 = h.a("<recipe name=\"bread\" prep_time=\"5 mins\" cook_time=\"3 hours\"> <title>Basic bread</title> <ingredient amount=\"8\" unit=\"dL\">Flour</ingredient> <ingredient amount=\"10\" unit=\"grams\">Yeast</ingredient> <ingredient amount=\"4\" unit=\"dL\" state=\"warm\">Water</ingredient> <ingredient amount=\"1\" unit=\"teaspoon\">Salt</ingredient> <instructions> <step>Mix all ingredients together.</step> <step>Knead thoroughly.</step> <step>Cover with a cloth, and leave for one hour in warm room.</step> <step>Knead again.</step> <step>Place in a bread baking tin.</step> <step>Cover with a cloth, and leave for one hour in warm room.</step> <step>Bake in the oven at 180(degrees)C for 30 minutes.</step> </instructions> </recipe> ");
            System.out.println(a2.toString(4));
            System.out.println(h.a(a2));
            System.out.println();
            i b2 = h.b("<div id=\"demo\" class=\"JSONML\"><p>JSONML is a transformation between <b>JSON</b> and <b>XML</b> that preserves ordering of document features.</p><p>JSONML can work with JSON arrays or JSON objects.</p><p>Three<br/>little<br/>words</p></div>");
            System.out.println(b2.toString(4));
            System.out.println(h.a(b2));
            System.out.println();
            f a3 = h.a("<div id=\"demo\" class=\"JSONML\"><p>JSONML is a transformation between <b>JSON</b> and <b>XML</b> that preserves ordering of document features.</p><p>JSONML can work with JSON arrays or JSON objects.</p><p>Three<br/>little<br/>words</p></div>");
            System.out.println(a3.toString(4));
            System.out.println(h.a(a3));
            System.out.println();
            System.out.println(o.c("<person created=\"2006-11-11T19:23\" modified=\"2006-12-31T23:59\">\n <firstName>Robert</firstName>\n <lastName>Smith</lastName>\n <address type=\"home\">\n <street>12345 Sixth Ave</street>\n <city>Anytown</city>\n <state>CA</state>\n <postalCode>98765-4321</postalCode>\n </address>\n </person>").toString(4));
            System.out.println(new i(aVar).toString());
            System.out.println(new i("{ \"entity\": { \"imageURL\": \"\", \"name\": \"IXXXXXXXXXXXXX\", \"id\": 12336, \"ratingCount\": null, \"averageRating\": null } }").toString(2));
            System.out.println(new k().d().a("single").a((Object) "MARIE HAA'S").a("Johnny").a((Object) "MARIE HAA\\'S").a("foo").a((Object) "bar").a("baz").a().d().a("quux").a((Object) "Thanks, Josh!").c().b().a("obj keys").a(i.getNames(aVar)).c().toString());
            System.out.println(new k().d().a("a").a().a().a().a((Object) "b").b().b().b().c().toString());
            k kVar = new k();
            kVar.a();
            kVar.a(1L);
            kVar.a();
            kVar.a((Object) null);
            kVar.a();
            kVar.d();
            kVar.a("empty-array").a().b();
            kVar.a("answer").a(42L);
            kVar.a(x.w).a((Object) null);
            kVar.a("false").a(false);
            kVar.a(io.bibeex.contract.i.j.f15780k).a(true);
            kVar.a("big").a(1.23456789E96d);
            kVar.a("small").a(1.23456789E-80d);
            kVar.a("empty-object").d().c();
            kVar.a("long");
            kVar.a(p0.c);
            kVar.c();
            kVar.a((Object) "two");
            kVar.b();
            kVar.a(true);
            kVar.b();
            kVar.a(98.6d);
            kVar.a(-100.0d);
            kVar.d();
            kVar.c();
            kVar.d();
            kVar.a("one");
            kVar.a(1.0d);
            kVar.c();
            kVar.a(aVar);
            kVar.b();
            System.out.println(kVar.toString());
            System.out.println(new f(kVar.toString()).toString(4));
            System.out.println(new f(new int[]{1, 2, 3}).toString());
            i iVar3 = new i(aVar, new String[]{"aString", "aNumber", "aBoolean"});
            iVar3.put("Testing JSONString interface", aVar);
            System.out.println(iVar3.toString(4));
            i iVar4 = new i("{slashes: '///', closetag: '</script>', backslash:'\\\\', ei: {quotes: '\"\\''},eo: {a: '\"quoted\"', b:\"don't\"}, quotes: [\"'\", '\"']}");
            System.out.println(iVar4.toString(2));
            System.out.println(o.a(iVar4));
            System.out.println("");
            i iVar5 = new i("{foo: [true, false,9876543210,    0.0, 1.00000001,  1.000000000001, 1.00000000000000001, .00000000000000001, 2.00, 0.1, 2e100, -32,[],{}, \"string\"],   to   : null, op : 'Good',ten:10} postfix comment");
            iVar5.put("String", "98.6");
            iVar5.put("JSONObject", new i());
            iVar5.put("JSONArray", new f());
            iVar5.put("int", 57);
            iVar5.put("double", 1.2345678901234568E29d);
            iVar5.put(io.bibeex.contract.i.j.f15780k, true);
            iVar5.put("false", false);
            iVar5.put(x.w, i.NULL);
            iVar5.put("bool", io.bibeex.contract.i.j.f15780k);
            iVar5.put("zero", -0.0d);
            iVar5.put("\\u2028", "\u2028");
            iVar5.put("\\u2029", "\u2029");
            f jSONArray = iVar5.getJSONArray("foo");
            jSONArray.put(c.C0373c.ua);
            jSONArray.put(2001.99d);
            jSONArray.put("so \"fine\".");
            jSONArray.put("so <fine>.");
            jSONArray.put(true);
            jSONArray.put(false);
            jSONArray.put(new f());
            jSONArray.put(new i());
            iVar5.put("keys", i.getNames(iVar5));
            System.out.println(iVar5.toString(4));
            System.out.println(o.a(iVar5));
            PrintStream printStream = System.out;
            printStream.println("String: " + iVar5.getDouble("String"));
            PrintStream printStream2 = System.out;
            printStream2.println("  bool: " + iVar5.getBoolean("bool"));
            PrintStream printStream3 = System.out;
            printStream3.println("    to: " + iVar5.getString(TypedValues.TransitionType.S_TO));
            PrintStream printStream4 = System.out;
            printStream4.println("  true: " + iVar5.getString(io.bibeex.contract.i.j.f15780k));
            PrintStream printStream5 = System.out;
            printStream5.println("   foo: " + iVar5.getJSONArray("foo"));
            PrintStream printStream6 = System.out;
            printStream6.println("    op: " + iVar5.getString("op"));
            PrintStream printStream7 = System.out;
            printStream7.println("   ten: " + iVar5.getInt("ten"));
            PrintStream printStream8 = System.out;
            printStream8.println("  oops: " + iVar5.optBoolean("oops"));
            i c = o.c("<xml one = 1 two=' \"2\" '><five></five>First \t&lt;content&gt;<five></five> This is \"content\". <three>  3  </three>JSON does not preserve the sequencing of elements and contents.<three>  III  </three>  <three>  T H R E E</three><four/>Content text is an implied structure in XML. <six content=\"6\"/>JSON does not have implied structure:<seven>7</seven>everything is explicit.<![CDATA[CDATA blocks<are><supported>!]]></xml>");
            System.out.println(c.toString(2));
            System.out.println(o.a(c));
            System.out.println("");
            f a4 = h.a("<xml one = 1 two=' \"2\" '><five></five>First \t&lt;content&gt;<five></five> This is \"content\". <three>  3  </three>JSON does not preserve the sequencing of elements and contents.<three>  III  </three>  <three>  T H R E E</three><four/>Content text is an implied structure in XML. <six content=\"6\"/>JSON does not have implied structure:<seven>7</seven>everything is explicit.<![CDATA[CDATA blocks<are><supported>!]]></xml>");
            System.out.println(a4.toString(4));
            System.out.println(h.a(a4));
            System.out.println("");
            f a5 = h.a("<xml do='0'>uno<a re='1' mi='2'>dos<b fa='3'/>tres<c>true</c>quatro</a>cinqo<d>seis<e/></d></xml>");
            System.out.println(a5.toString(4));
            System.out.println(h.a(a5));
            System.out.println("");
            i c2 = o.c("<mapping><empty/>   <class name = \"Customer\">      <field name = \"ID\" type = \"string\">         <bind-xml name=\"ID\" node=\"attribute\"/>      </field>      <field name = \"FirstName\" type = \"FirstName\"/>      <field name = \"MI\" type = \"MI\"/>      <field name = \"LastName\" type = \"LastName\"/>   </class>   <class name = \"FirstName\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class>   <class name = \"MI\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class>   <class name = \"LastName\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class></mapping>");
            System.out.println(c2.toString(2));
            System.out.println(o.a(c2));
            System.out.println("");
            f a6 = h.a("<mapping><empty/>   <class name = \"Customer\">      <field name = \"ID\" type = \"string\">         <bind-xml name=\"ID\" node=\"attribute\"/>      </field>      <field name = \"FirstName\" type = \"FirstName\"/>      <field name = \"MI\" type = \"MI\"/>      <field name = \"LastName\" type = \"LastName\"/>   </class>   <class name = \"FirstName\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class>   <class name = \"MI\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class>   <class name = \"LastName\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class></mapping>");
            System.out.println(a6.toString(4));
            System.out.println(h.a(a6));
            System.out.println("");
            i c3 = o.c("<?xml version=\"1.0\" ?><Book Author=\"Anonymous\"><Title>Sample Book</Title><Chapter id=\"1\">This is chapter 1. It is not very long or interesting.</Chapter><Chapter id=\"2\">This is chapter 2. Although it is longer than chapter 1, it is not any more interesting.</Chapter></Book>");
            System.out.println(c3.toString(2));
            System.out.println(o.a(c3));
            System.out.println("");
            i c4 = o.c("<!DOCTYPE bCard 'http://www.cs.caltech.edu/~adam/schemas/bCard'><bCard><?xml default bCard        firstname = ''        lastname  = '' company   = '' email = '' homepage  = ''?><bCard        firstname = 'Rohit'        lastname  = 'Khare'        company   = 'MCI'        email     = 'khare@mci.net'        homepage  = 'http://pest.w3.org/'/><bCard        firstname = 'Adam'        lastname  = 'Rifkin'        company   = 'Caltech Infospheres Project'        email     = 'adam@cs.caltech.edu'        homepage  = 'http://www.cs.caltech.edu/~adam/'/></bCard>");
            System.out.println(c4.toString(2));
            System.out.println(o.a(c4));
            System.out.println("");
            i c5 = o.c("<?xml version=\"1.0\"?><customer>    <firstName>        <text>Fred</text>    </firstName>    <ID>fbs0001</ID>    <lastName> <text>Scerbo</text>    </lastName>    <MI>        <text>B</text>    </MI></customer>");
            System.out.println(c5.toString(2));
            System.out.println(o.a(c5));
            System.out.println("");
            i c6 = o.c("<!ENTITY tp-address PUBLIC '-//ABC University::Special Collections Library//TEXT (titlepage: name and address)//EN' 'tpspcoll.sgm'><list type='simple'><head>Repository Address </head><item>Special Collections Library</item><item>ABC University</item><item>Main Library, 40 Circle Drive</item><item>Ourtown, Pennsylvania</item><item>17654 USA</item></list>");
            System.out.println(c6.toString());
            System.out.println(o.a(c6));
            System.out.println("");
            i c7 = o.c("<test intertag status=ok><empty/>deluxe<blip sweet=true>&amp;&quot;toot&quot;&toot;&#x41;</blip><x>eks</x><w>bonus</w><w>bonus2</w></test>");
            System.out.println(c7.toString(2));
            System.out.println(o.a(c7));
            System.out.println("");
            i a7 = d.a("GET / HTTP/1.0\nAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*\nAccept-Language: en-us\nUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; T312461; Q312461)\nHost: www.nokko.com\nConnection: keep-alive\nAccept-encoding: gzip, deflate\n");
            System.out.println(a7.toString(2));
            System.out.println(d.a(a7));
            System.out.println("");
            i a8 = d.a("HTTP/1.1 200 Oki Doki\nDate: Sun, 26 May 2002 17:38:52 GMT\nServer: Apache/1.3.23 (Unix) mod_perl/1.26\nKeep-Alive: timeout=15, max=100\nConnection: Keep-Alive\nTransfer-Encoding: chunked\nContent-Type: text/html\n");
            System.out.println(a8.toString(2));
            System.out.println(d.a(a8));
            System.out.println("");
            i iVar6 = new i("{nix: null, nux: false, null: 'null', 'Request-URI': '/', Method: 'GET', 'HTTP-Version': 'HTTP/1.0'}");
            System.out.println(iVar6.toString(2));
            PrintStream printStream9 = System.out;
            printStream9.println("isNull: " + iVar6.isNull("nix"));
            PrintStream printStream10 = System.out;
            printStream10.println("   has: " + iVar6.has("nix"));
            System.out.println(o.a(iVar6));
            System.out.println(d.a(iVar6));
            System.out.println("");
            i c8 = o.c("<?xml version='1.0' encoding='UTF-8'?>\n\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\"><SOAP-ENV:Body><ns1:doGoogleSearch xmlns:ns1=\"urn:GoogleSearch\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><key xsi:type=\"xsd:string\">GOOGLEKEY</key> <q xsi:type=\"xsd:string\">'+search+'</q> <start xsi:type=\"xsd:int\">0</start> <maxResults xsi:type=\"xsd:int\">10</maxResults> <filter xsi:type=\"xsd:boolean\">true</filter> <restrict xsi:type=\"xsd:string\"></restrict> <safeSearch xsi:type=\"xsd:boolean\">false</safeSearch> <lr xsi:type=\"xsd:string\"></lr> <ie xsi:type=\"xsd:string\">latin1</ie> <oe xsi:type=\"xsd:string\">latin1</oe></ns1:doGoogleSearch></SOAP-ENV:Body></SOAP-ENV:Envelope>");
            System.out.println(c8.toString(2));
            System.out.println(o.a(c8));
            System.out.println("");
            i iVar7 = new i("{Envelope: {Body: {\"ns1:doGoogleSearch\": {oe: \"latin1\", filter: true, q: \"'+search+'\", key: \"GOOGLEKEY\", maxResults: 10, \"SOAP-ENV:encodingStyle\": \"http://schemas.xmlsoap.org/soap/encoding/\", start: 0, ie: \"latin1\", safeSearch:false, \"xmlns:ns1\": \"urn:GoogleSearch\"}}}}");
            System.out.println(iVar7.toString(2));
            System.out.println(o.a(iVar7));
            System.out.println("");
            i a9 = c.a("  f%oo = b+l=ah  ; o;n%40e = t.wo ");
            System.out.println(a9.toString(2));
            System.out.println(c.a(a9));
            System.out.println("");
            i b3 = b.b("f%oo=blah; secure ;expires = April 24, 2002");
            System.out.println(b3.toString(2));
            System.out.println(b.a(b3));
            System.out.println("");
            System.out.println(new i("{script: 'It is not allowed in HTML to send a close script tag in a string<script>because it confuses browsers</script>so we insert a backslash before the /'}").toString());
            System.out.println("");
            l lVar = new l("{op:'test', to:'session', pre:1}{op:'test', to:'session', pre:2}");
            i iVar8 = new i(lVar);
            System.out.println(iVar8.toString());
            PrintStream printStream11 = System.out;
            printStream11.println("pre: " + iVar8.optInt("pre"));
            System.out.println((int) lVar.d('{'));
            System.out.println(new i(lVar).toString());
            System.out.println("");
            f a10 = q.e.a.a("No quotes, 'Single Quotes', \"Double Quotes\"\n1,'2',\"3\"\n,'It is \"good,\"', \"It works.\"\n\n");
            System.out.println(q.e.a.b(a10));
            System.out.println("");
            System.out.println(a10.toString(4));
            System.out.println("");
            f fVar2 = new f(" [\"<escape>\", next is an implied null , , ok,] ");
            System.out.println(fVar2.toString());
            System.out.println("");
            System.out.println(o.a(fVar2));
            System.out.println("");
            i iVar9 = new i("{ fun => with non-standard forms ; forgiving => This package can be used to parse formats that are similar to but not stricting conforming to JSON; why=To make it easier to migrate existing data to JSON,one = [[1.00]]; uno=[[{1=>1}]];'+':+6e66 ;pluses=+++;empty = '' , 'double':0.666,true: TRUE, false: FALSE, null=NULL;[true] = [[!,@;*]]; string=>  o. k. ; \r oct=0666; hex=0x666; dec=666; o=0999; noh=0x0x}");
            System.out.println(iVar9.toString(4));
            System.out.println("");
            if (iVar9.getBoolean(io.bibeex.contract.i.j.f15780k) && !iVar9.getBoolean("false")) {
                System.out.println("It's all good");
            }
            System.out.println("");
            i iVar10 = new i(iVar9, new String[]{"dec", "oct", "hex", "missing"});
            System.out.println(iVar10.toString(4));
            System.out.println("");
            System.out.println(new k().a().a(fVar2).a((Object) iVar10).b());
            i iVar11 = new i("{string: \"98.6\", long: 2147483648, int: 2147483647, longer: 9223372036854775807, double: 9223372036854775808}");
            System.out.println(iVar11.toString(4));
            System.out.println("\ngetInt");
            PrintStream printStream12 = System.out;
            printStream12.println("int    " + iVar11.getInt("int"));
            PrintStream printStream13 = System.out;
            printStream13.println("long   " + iVar11.getInt("long"));
            PrintStream printStream14 = System.out;
            printStream14.println("longer " + iVar11.getInt("longer"));
            PrintStream printStream15 = System.out;
            printStream15.println("double " + iVar11.getInt("double"));
            PrintStream printStream16 = System.out;
            printStream16.println("string " + iVar11.getInt(TypedValues.Custom.S_STRING));
            System.out.println("\ngetLong");
            PrintStream printStream17 = System.out;
            printStream17.println("int    " + iVar11.getLong("int"));
            PrintStream printStream18 = System.out;
            printStream18.println("long   " + iVar11.getLong("long"));
            PrintStream printStream19 = System.out;
            printStream19.println("longer " + iVar11.getLong("longer"));
            PrintStream printStream20 = System.out;
            printStream20.println("double " + iVar11.getLong("double"));
            PrintStream printStream21 = System.out;
            printStream21.println("string " + iVar11.getLong(TypedValues.Custom.S_STRING));
            System.out.println("\ngetDouble");
            PrintStream printStream22 = System.out;
            printStream22.println("int    " + iVar11.getDouble("int"));
            PrintStream printStream23 = System.out;
            printStream23.println("long   " + iVar11.getDouble("long"));
            PrintStream printStream24 = System.out;
            printStream24.println("longer " + iVar11.getDouble("longer"));
            PrintStream printStream25 = System.out;
            printStream25.println("double " + iVar11.getDouble("double"));
            PrintStream printStream26 = System.out;
            printStream26.println("string " + iVar11.getDouble(TypedValues.Custom.S_STRING));
            iVar11.put("good sized", p0.c);
            System.out.println(iVar11.toString(4));
            System.out.println(new f("[2147483647, 2147483648, 9223372036854775807, 9223372036854775808]").toString(4));
            System.out.println("\nKeys: ");
            Iterator keys = iVar11.keys();
            while (keys.hasNext()) {
                String str = (String) keys.next();
                PrintStream printStream27 = System.out;
                printStream27.println(str + ": " + iVar11.getString(str));
            }
            System.out.println("\naccumulate: ");
            i iVar12 = new i();
            iVar12.accumulate("stooge", "Curly");
            iVar12.accumulate("stooge", "Larry");
            iVar12.accumulate("stooge", "Moe");
            iVar12.getJSONArray("stooge").put(5, "Shemp");
            System.out.println(iVar12.toString(4));
            System.out.println("\nwrite:");
            System.out.println(iVar12.write(new StringWriter()));
            i c9 = o.c("<xml empty><a></a><a>1</a><a>22</a><a>333</a></xml>");
            System.out.println(c9.toString(4));
            System.out.println(o.a(c9));
            i c10 = o.c("<book><chapter>Content of the first chapter</chapter><chapter>Content of the second chapter      <chapter>Content of the first subchapter</chapter>      <chapter>Content of the second subchapter</chapter></chapter><chapter>Third Chapter</chapter></book>");
            System.out.println(c10.toString(4));
            System.out.println(o.a(c10));
            f a11 = h.a("<book><chapter>Content of the first chapter</chapter><chapter>Content of the second chapter      <chapter>Content of the first subchapter</chapter>      <chapter>Content of the second subchapter</chapter></chapter><chapter>Third Chapter</chapter></book>");
            System.out.println(a11.toString(4));
            System.out.println(h.a(a11));
            i iVar13 = new i((Map) null);
            f fVar3 = new f((Collection) null);
            iVar13.append("stooge", "Joe DeRita");
            iVar13.append("stooge", "Shemp");
            iVar13.accumulate("stooges", "Curly");
            iVar13.accumulate("stooges", "Larry");
            iVar13.accumulate("stooges", "Moe");
            iVar13.accumulate("stoogearray", iVar13.get("stooges"));
            iVar13.put("map", (Map) null);
            iVar13.put("collection", (Collection) null);
            iVar13.put("array", fVar3);
            fVar3.put((Map) null);
            fVar3.put((Collection) null);
            System.out.println(iVar13.toString(4));
            System.out.println(new i("{plist=Apple; AnimalSmells = { pig = piggish; lamb = lambish; worm = wormy; }; AnimalSounds = { pig = oink; lamb = baa; worm = baa;  Lisa = \"Why is the worm talking like a lamb?\" } ; AnimalColors = { pig = pink; lamb = black; worm = pink; } } ").toString(4));
            f fVar4 = new f(" (\"San Francisco\", \"New York\", \"Seoul\", \"London\", \"Seattle\", \"Shanghai\")");
            System.out.println(fVar4.toString());
            i c11 = o.c("<a ichi='1' ni='2'><b>The content of b</b> and <c san='3'>The content of c</c><d>do</d><e></e><d>re</d><f/><d>mi</d></a>");
            System.out.println(c11.toString(2));
            System.out.println(o.a(c11));
            System.out.println("");
            f a12 = h.a("<a ichi='1' ni='2'><b>The content of b</b> and <c san='3'>The content of c</c><d>do</d><e></e><d>re</d><f/><d>mi</d></a>");
            System.out.println(a12.toString(4));
            System.out.println(h.a(a12));
            System.out.println("");
            System.out.println("\nTesting Exceptions: ");
            System.out.print("Exception: ");
            try {
                fVar = new f();
                try {
                    fVar.put(Double.NEGATIVE_INFINITY);
                    fVar.put(Double.NaN);
                    System.out.println(fVar.toString());
                } catch (Exception e2) {
                    e = e2;
                    fVar4 = fVar;
                    System.out.println(e);
                    fVar = fVar4;
                    System.out.print("Exception: ");
                    System.out.println(c11.getDouble("stooge"));
                    System.out.print("Exception: ");
                    System.out.println(c11.getDouble("howard"));
                    System.out.print("Exception: ");
                    System.out.println(c11.put((String) null, "howard"));
                    System.out.print("Exception: ");
                    System.out.println(fVar.getDouble(0));
                    System.out.print("Exception: ");
                    System.out.println(fVar.get(-1));
                    System.out.print("Exception: ");
                    System.out.println(fVar.put(Double.NaN));
                    System.out.print("Exception: ");
                    c11 = o.c("<a><b>    ");
                    System.out.print("Exception: ");
                    c11 = o.c("<a></b>    ");
                    System.out.print("Exception: ");
                    c11 = o.c("<a></a    ");
                    System.out.print("Exception: ");
                    System.out.println(new f(new Object()).toString());
                    System.out.print("Exception: ");
                    System.out.println(new f("[)").toString());
                    System.out.print("Exception: ");
                    System.out.println(h.a("<xml").toString(4));
                    System.out.print("Exception: ");
                    System.out.println(h.a("<right></wrong>").toString(4));
                    System.out.print("Exception: ");
                    iVar = new i("{\"koda\": true, \"koda\": true}");
                    try {
                        System.out.println(iVar.toString(4));
                    } catch (Exception e3) {
                        exc = e3;
                        c11 = iVar;
                        System.out.println(exc);
                        iVar = c11;
                        System.out.print("Exception: ");
                        new k().d().a("bosanda").a((Object) "MARIE HAA'S").a("bosanda").a((Object) "MARIE HAA\\'S").c().toString();
                        System.out.println(iVar.toString(4));
                    }
                    System.out.print("Exception: ");
                    new k().d().a("bosanda").a((Object) "MARIE HAA'S").a("bosanda").a((Object) "MARIE HAA\\'S").c().toString();
                    System.out.println(iVar.toString(4));
                }
            } catch (Exception e4) {
                e = e4;
            }
            System.out.print("Exception: ");
            try {
                System.out.println(c11.getDouble("stooge"));
            } catch (Exception e5) {
                System.out.println(e5);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(c11.getDouble("howard"));
            } catch (Exception e6) {
                System.out.println(e6);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(c11.put((String) null, "howard"));
            } catch (Exception e7) {
                System.out.println(e7);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(fVar.getDouble(0));
            } catch (Exception e8) {
                System.out.println(e8);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(fVar.get(-1));
            } catch (Exception e9) {
                System.out.println(e9);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(fVar.put(Double.NaN));
            } catch (Exception e10) {
                System.out.println(e10);
            }
            System.out.print("Exception: ");
            try {
                c11 = o.c("<a><b>    ");
            } catch (Exception e11) {
                System.out.println(e11);
            }
            System.out.print("Exception: ");
            try {
                c11 = o.c("<a></b>    ");
            } catch (Exception e12) {
                System.out.println(e12);
            }
            System.out.print("Exception: ");
            try {
                c11 = o.c("<a></a    ");
            } catch (Exception e13) {
                System.out.println(e13);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(new f(new Object()).toString());
            } catch (Exception e14) {
                System.out.println(e14);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(new f("[)").toString());
            } catch (Exception e15) {
                System.out.println(e15);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(h.a("<xml").toString(4));
            } catch (Exception e16) {
                System.out.println(e16);
            }
            System.out.print("Exception: ");
            try {
                System.out.println(h.a("<right></wrong>").toString(4));
            } catch (Exception e17) {
                System.out.println(e17);
            }
            System.out.print("Exception: ");
            try {
                iVar = new i("{\"koda\": true, \"koda\": true}");
                System.out.println(iVar.toString(4));
            } catch (Exception e18) {
                exc = e18;
            }
            System.out.print("Exception: ");
            try {
                new k().d().a("bosanda").a((Object) "MARIE HAA'S").a("bosanda").a((Object) "MARIE HAA\\'S").c().toString();
                System.out.println(iVar.toString(4));
            } catch (Exception e19) {
                System.out.println(e19);
            }
        } catch (Exception e20) {
            System.out.println(e20.toString());
        }
    }
}