home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / foreach_jsp$5.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-05-17  |  914 b   |  29 lines

  1. package org.apache.jsp.tagplugin;
  2.  
  3. import java.util.Iterator;
  4.  
  5. class foreach_jsp$5 implements Iterator {
  6.    int index;
  7.    // $FF: synthetic field
  8.    private final short[] val$a;
  9.    // $FF: synthetic field
  10.    private final foreach_jsp this$0;
  11.  
  12.    foreach_jsp$5(foreach_jsp this$0, short[] val$a) {
  13.       this.this$0 = this$0;
  14.       this.val$a = val$a;
  15.       this.index = 0;
  16.    }
  17.  
  18.    public boolean hasNext() {
  19.       return this.index < this.val$a.length;
  20.    }
  21.  
  22.    public Object next() {
  23.       return new Short(this.val$a[this.index++]);
  24.    }
  25.  
  26.    public void remove() {
  27.    }
  28. }
  29.