home *** CD-ROM | disk | FTP | other *** search
- package java.net;
-
- import java.security.AccessController;
- import java.util.Enumeration;
- import java.util.NoSuchElementException;
- import sun.misc.Resource;
-
- class URLClassLoader$3 implements Enumeration {
- private URL res;
- // $FF: synthetic field
- private final Enumeration val$e;
- // $FF: synthetic field
- private final URLClassLoader this$0;
-
- URLClassLoader$3(URLClassLoader var1, Enumeration var2) {
- this.this$0 = var1;
- this.val$e = var2;
- }
-
- public Object nextElement() {
- if (this.res == null) {
- throw new NoSuchElementException();
- } else {
- URL var1 = this.res;
- this.res = null;
- return var1;
- }
- }
-
- public boolean hasMoreElements() {
- if (this.res != null) {
- return true;
- } else {
- do {
- Resource var1 = (Resource)AccessController.doPrivileged(new URLClassLoader.4(this), URLClassLoader.access$300(this.this$0));
- if (var1 == null) {
- break;
- }
-
- this.res = URLClassLoader.access$000(this.this$0).checkURL(var1.getURL());
- } while(this.res == null);
-
- return this.res != null;
- }
- }
-
- // $FF: synthetic method
- static Enumeration access$200(URLClassLoader$3 var0) {
- return var0.val$e;
- }
- }
-