1 Clazz.declarePackage ("java.util");
2 Clazz.load (["java.util.ResourceBundle"], "java.util.ListResourceBundle", ["java.lang.NullPointerException", "java.util.HashMap", "jssun.util.ResourceBundleEnumeration"], function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, java.util, "ListResourceBundle", java.util.ResourceBundle);
7 Clazz.makeConstructor (c$,
9 Clazz.superConstructor (this, java.util.ListResourceBundle, []);
11 Clazz.overrideMethod (c$, "handleGetObject",
13 if (this.lookup == null) {
16 throw new NullPointerException ();
17 }return this.lookup.get (key);
19 Clazz.defineMethod (c$, "getKeys",
21 if (this.lookup == null) {
23 }var parent = this.parent;
24 return new jssun.util.ResourceBundleEnumeration (this.lookup.keySet (), (parent != null) ? parent.getKeys () : null);
26 Clazz.overrideMethod (c$, "handleKeySet",
28 if (this.lookup == null) {
30 }return this.lookup.keySet ();
32 Clazz.defineMethod (c$, "loadLookup",
34 if (this.lookup != null) return;
35 var contents = this.getContents ();
36 var temp = new java.util.HashMap (contents.length);
37 for (var i = 0; i < contents.length; ++i) {
38 var key = contents[i][0];
39 var value = contents[i][1];
40 if (key == null || value == null) {
41 throw new NullPointerException ();
42 }temp.put (key, value);