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 / util / Collections$6.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  624 b   |  22 lines

  1. package java.util;
  2.  
  3. class Collections$6 implements Enumeration {
  4.    // $FF: renamed from: i java.util.Iterator
  5.    Iterator field_0;
  6.    // $FF: synthetic field
  7.    private final Collection val$c;
  8.  
  9.    Collections$6(Collection var1) {
  10.       this.val$c = var1;
  11.       this.field_0 = this.val$c.iterator();
  12.    }
  13.  
  14.    public boolean hasMoreElements() {
  15.       return this.field_0.hasNext();
  16.    }
  17.  
  18.    public Object nextElement() {
  19.       return this.field_0.next();
  20.    }
  21. }
  22.