home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / java / lang / ClassLoader$2.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  522 b   |  22 lines

  1. package java.lang;
  2.  
  3. import java.util.Enumeration;
  4. import sun.misc.Resource;
  5.  
  6. class ClassLoader$2 implements Enumeration {
  7.    // $FF: synthetic field
  8.    private final Enumeration val$e;
  9.  
  10.    ClassLoader$2(Enumeration var1) {
  11.       this.val$e = var1;
  12.    }
  13.  
  14.    public Object nextElement() {
  15.       return ((Resource)this.val$e.nextElement()).getURL();
  16.    }
  17.  
  18.    public boolean hasMoreElements() {
  19.       return this.val$e.hasMoreElements();
  20.    }
  21. }
  22.