hsr
Class HSRSolution

java.lang.Object
  extended by hsr.HSRSolution
All Implemented Interfaces:
SolutionI

public abstract class HSRSolution
extends java.lang.Object
implements SolutionI

Representation of HSRSolution


Constructor Summary
HSRSolution()
          Construct a(n) HSRSolution Instance
 
Method Summary
 java.lang.String display()
          DGP method from Class Display
 int findDepth()
          Find the depth of the Binary tree
 int hashCode()
          DGP method from Class HashCode
static HSRSolution parse(java.io.InputStream inpt)
          Parse an instance of HSRSolution from the given Stream
static HSRSolution parse(java.io.Reader inpt)
          Parse an instance of HSRSolution from the given Reader
static HSRSolution parse(java.lang.String inpt)
          Parse an instance of HSRSolution from the given String
 java.lang.String print()
          DGP method from Class Print
 java.lang.String toStr()
          DGP method from Class ToStr
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HSRSolution

public HSRSolution()
Construct a(n) HSRSolution Instance

Method Detail

parse

public static HSRSolution parse(java.lang.String inpt)
                         throws hsr.ParseException
Parse an instance of HSRSolution from the given String

Throws:
hsr.ParseException

parse

public static HSRSolution parse(java.io.InputStream inpt)
                         throws hsr.ParseException
Parse an instance of HSRSolution from the given Stream

Throws:
hsr.ParseException

parse

public static HSRSolution parse(java.io.Reader inpt)
                         throws hsr.ParseException
Parse an instance of HSRSolution from the given Reader

Throws:
hsr.ParseException

findDepth

public int findDepth()
Find the depth of the Binary tree


display

public java.lang.String display()
DGP method from Class Display


print

public java.lang.String print()
DGP method from Class Print


toStr

public java.lang.String toStr()
DGP method from Class ToStr


toString

public java.lang.String toString()
DGP method from Class PrintToString

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
DGP method from Class HashCode

Overrides:
hashCode in class java.lang.Object