for( Enumeration<ZipEntry> e = z.entries(); e.hasMoreElements(); )
for( Enumeration<ZipEntry> e = z.entries(); e.hasMoreElements(); )  { if (Thread.interrupted()) throw new InterruptedException();
  public void examineFile(String fileName) throws IOException {	if (fileName.endsWith(".zip") || fileName.endsWith(".jar")) {		//if (argv.length > 1) System.out.println(fileName);		ZipFile z = new ZipFile(fileName);		TreeSet<ZipEntry> zipEntries = new TreeSet<ZipEntry>(new Comparator<ZipEntry>() {			public int compare(ZipEntry e1, ZipEntry e2) {					String s1 = e1.getName();					int pos1 = s1.lastIndexOf('/');					String p1 = "null";					if(pos1 >= 0)						p1 = s1.substring(0,pos1);					String s2 = e2.getName();					int pos2 = s2.lastIndexOf('/');					String p2 = "null";					if(pos2 >= 0)						p2 = s2.substring(0,pos2);					int r = p1.compareTo(p2);					if (r != 0) return r;					return s1.compareTo(s2);					}			});		for( Enumeration<ZipEntry> e = z.entries(); e.hasMoreElements(); ) 			zipEntries.add(e.nextElement());					for( Iterator j = zipEntries.iterator(); j.hasNext(); ) {			ZipEntry ze = (ZipEntry)j.next();			String name = ze.getName();			if (name.endsWith(".class")) {				examine(				new ClassParser(z.getInputStream(ze),name).parse());				}		}		}	else		examine( new ClassParser(fileName).parse());  }