1 16 package org.apache.cocoon.components.modules.input; 17 18 import java.util.Enumeration ; 19 import java.util.Iterator ; 20 21 26 class IteratorHelper implements Iterator { 27 28 protected Enumeration enumeration; 29 30 public IteratorHelper( Enumeration e ) { this.enumeration = e; } 31 public boolean hasNext() { return this.enumeration.hasMoreElements(); } 32 public Object next() { return this.enumeration.nextElement(); } 33 34 public void remove() {} 35 } 36 | Popular Tags |