JML

org.multijava.util.classfile
Class AttributeList.ParserIterator

java.lang.Object
  extended byorg.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).


Field Summary
private  ListIterator prsrs
           
 
Constructor Summary
(package private) AttributeList.ParserIterator(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

prsrs

private ListIterator prsrs
Constructor Detail

AttributeList.ParserIterator

AttributeList.ParserIterator(LinkedList prsrs)
Method Detail

hasNext

public boolean hasNext()

next

public AttributeParser next()

JML

JML is Copyright (C) 1998-2002 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. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.