home *** CD-ROM | disk | FTP | other *** search
- package java.util.zip;
-
- import java.util.Enumeration;
- import java.util.NoSuchElementException;
-
- class ZipFile$2 implements Enumeration {
- // $FF: renamed from: i int
- private int field_0;
- // $FF: synthetic field
- private final ZipFile this$0;
-
- ZipFile$2(ZipFile var1) {
- this.this$0 = var1;
- this.field_0 = 0;
- }
-
- public boolean hasMoreElements() {
- return this.field_0 < ZipFile.access$100(this.this$0);
- }
-
- public Object nextElement() throws NoSuchElementException {
- if (this.field_0 >= ZipFile.access$100(this.this$0)) {
- throw new NoSuchElementException();
- } else {
- long var1 = ZipFile.access$300(ZipFile.access$200(this.this$0), this.field_0++);
- if (var1 == 0L) {
- throw new InternalError("jzentry == 0");
- } else {
- ZipEntry var3 = new ZipEntry(var1);
- ZipFile.access$400(ZipFile.access$200(this.this$0), var1);
- return var3;
- }
- }
- }
- }
-