com.inxar.syntacs.analyzer.syntactic
Class StandardRecovery

java.lang.Object
  |
  +--com.inxar.syntacs.analyzer.syntactic.StandardRecovery
All Implemented Interfaces:
Recovery

public class StandardRecovery
extends Object
implements Recovery

Concrete implementation of Recovery.


Constructor Summary
StandardRecovery()
           
 
Method Summary
 void add(int type)
           
 void add(int type, Object val)
           
 boolean hasNext()
          Returns true if there is at least one more correction to apply, false if no more corrections need to be done.
 Correction next()
          Returns the next Correction to apply.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardRecovery

public StandardRecovery()
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: Recovery
Returns true if there is at least one more correction to apply, false if no more corrections need to be done.
Specified by:
hasNext in interface Recovery

next

public Correction next()
Description copied from interface: Recovery
Returns the next Correction to apply.
Specified by:
next in interface Recovery

add

public void add(int type,
                Object val)

add

public void add(int type)