Package ognl

Class IteratorEnumeration

  • All Implemented Interfaces:
    java.util.Enumeration

    public class IteratorEnumeration
    extends java.lang.Object
    implements java.util.Enumeration
    Maps an Iterator to an Enumeration
    Author:
    Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)
    • Constructor Summary

      Constructors 
      Constructor Description
      IteratorEnumeration​(java.util.Iterator it)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasMoreElements()  
      java.lang.Object nextElement()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Enumeration

        asIterator
    • Constructor Detail

      • IteratorEnumeration

        public IteratorEnumeration​(java.util.Iterator it)
    • Method Detail

      • hasMoreElements

        public boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration
      • nextElement

        public java.lang.Object nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration