001    package railo.runtime.type;
002    
003    import java.util.Iterator;
004    
005    /**
006     * interface that define that in a class a iterator is available
007     */
008    public interface Iteratorable {
009    
010        /**
011         * @return return a Iterator for Keys as String
012         */
013        public Iterator keyIterator();
014        
015        /**
016         *
017         * @return return a Iterator for Values
018         */
019        public Iterator valueIterator();
020        
021        /**
022         * @return return a Iterator for keys
023         * @deprecated use instead <code>{@link #keyIterator()}</code>
024         */
025        public Iterator iterator();
026        
027    }