org.multijava.util.classfile
Class AttributeList.ParserIterator
java.lang.Object
org.multijava.util.classfile.AttributeList.ParserIterator
- Enclosing class:
- AttributeList
- public static class AttributeList.ParserIterator
- extends Object
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).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prsrs
private ListIterator prsrs
AttributeList.ParserIterator
AttributeList.ParserIterator(LinkedList prsrs)
hasNext
public boolean hasNext()
next
public AttributeParser next()
mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.