Class Parser

Class Parser

java.lang.Object
   |
   +----Parser

public class Parser
extends Object
Parses and executes a sequence of tree operations represented as a comma separated sequence of commands [iIdDlLP]<int> or W where: By default, when in demo mode (parameter name=demoMode" with value="true") nodes with values 2 are blue, 4 purple, 6 red and 8 orange; in this mode, all others have the default color (initially set to gray).

Method Index

 o endOp()
 o hasMoreOps()
Returns true if there are additional operations to be performed in the given operation sequence.
 o next()
Parse and retrieve the next action to be performed; the next operation is consumed
 o ready()

Methods

 o ready
  public boolean ready()
 o endOp
  public boolean endOp()
 o next
  public Action next() throws IOException
Parse and retrieve the next action to be performed; the next operation is consumed
 o hasMoreOps
  public boolean hasMoreOps()
Returns true if there are additional operations to be performed in the given operation sequence.