1 class HashMapIterator {
7 public HashMapIterator(HashMap map, int type) {
14 public boolean hasNext() {
18 while(map.table[i]==null&&(i<map.table.length))
20 return (i<map.table.length);
23 public Object next() {
33 while((map.table[bin]==null)&&(bin<map.table.length))
35 if (bin<map.table.length) {
43 } else System.error();