public class MockEnumeration extends Object implements Enumeration
General purpose Enumeration wrapper around an
Iterator specified to our controller.
| Constructor and Description |
|---|
MockEnumeration(Iterator iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
Object |
nextElement() |
protected Iterator iterator
public MockEnumeration(Iterator iterator)
public boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.