|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.AttributeList.ParserIterator
This nested class implements a specialized iterator that returns successive parsers from the chain-of-responsibility and keeps clients from having to perform casts. It also prevents representation exposure of the chain-of-responsibility data structure (though parsers in the chain are exposed).
| Field Summary | |
private java.util.ListIterator |
prsrs
|
| Constructor Summary | |
(package private) |
AttributeList.ParserIterator(java.util.LinkedList prsrs)
|
| Method Summary | |
boolean |
hasNext()
|
AttributeParser |
next()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.ListIterator prsrs
| Constructor Detail |
AttributeList.ParserIterator(java.util.LinkedList prsrs)
| Method Detail |
public boolean hasNext()
public AttributeParser next()
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||