org.apache.commons.chain.web
Class MockEnumeration
java.lang.Object
org.apache.commons.chain.web.MockEnumeration
- All Implemented Interfaces:
- Enumeration
public class MockEnumeration
- extends Object
- implements Enumeration
General purpose Enumeration
wrapper around an
Iterator
specified to our controller.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterator
protected Iterator iterator
MockEnumeration
public MockEnumeration(Iterator iterator)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.