|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.mock.MockEnumeration
public class MockEnumeration
General purpose Enumeration
wrapper around an
Iterator
specified to our controller.
Field Summary | |
---|---|
protected java.util.Iterator |
iterator
|
Constructor Summary | |
---|---|
MockEnumeration(java.util.Iterator iterator)
|
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 |
Field Detail |
---|
protected java.util.Iterator iterator
Constructor Detail |
---|
public MockEnumeration(java.util.Iterator iterator)
Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |