org.apache.ibatis.ognl
Class IteratorEnumeration

java.lang.Object
  extended by org.apache.ibatis.ognl.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 ([email protected]), Drew Davidson ([email protected])

Constructor Summary
IteratorEnumeration(java.util.Iterator it)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2010 MyBatis.org. All Rights Reserved.