001    package railo.runtime.type.it;
002    
003    import java.util.Iterator;
004    
005    public class UCKeyIterator implements Iterator {
006    
007            
008            
009            private Iterator it;
010    
011            public UCKeyIterator(Iterator it) {
012                    this.it=it;
013            }
014    
015            public boolean hasNext() {
016                    return it.hasNext();
017            }
018    
019            public Object next() {
020                    return nextString();
021            }
022            
023            public String nextString() {
024                    return it.next().toString().toUpperCase();
025            }
026    
027            public void remove() {
028                    it.remove();
029            }
030    
031    }