|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.apache.struts.util.IteratorAdapter
Utility method for converting Enumeration to an Iterator class. If you attempt to remove() an Object from the iterator, it will throw an UnsupportedOperationException. Added for use by TagLib so Enumeration can be supported
| Field Summary | |
private java.util.Enumeration |
enum
Deprecated. |
| Constructor Summary | |
IteratorAdapter(java.util.Enumeration enum)
Deprecated. |
|
| Method Summary | |
boolean |
hasNext()
Deprecated. |
java.lang.Object |
next()
Deprecated. |
void |
remove()
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Enumeration enum
| Constructor Detail |
public IteratorAdapter(java.util.Enumeration enum)
| Method Detail |
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||