hsr
Class Simple

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

public class Simple
extends hsr.HSRSolution

Representation of Simple


Nested Class Summary
static class Simple.highest_safe_rung
          Field Class for Simple.highest_safe_rung
 
Constructor Summary
Simple(int highest_safe_rung)
          Construct a(n) Simple Instance
 
Method Summary
 java.lang.String display()
          DGP method from Class Display
 boolean equals(java.lang.Object o)
          Is the given object Equal to this Simple?
 int getHighest_safe_rung()
          Getter for field Simple.highest_safe_rung
 int hashCode()
          DGP method from Class HashCode
static Simple parse(java.io.InputStream inpt)
          Parse an instance of Simple from the given Stream
static Simple parse(java.io.Reader inpt)
          Parse an instance of Simple from the given Reader
static Simple parse(java.lang.String inpt)
          Parse an instance of Simple from the given String
 java.lang.String print()
          DGP method from Class Print
 void setHighest_safe_rung(int _highest_safe_rung)
          Setter for field Simple.highest_safe_rung
 java.lang.String toStr()
          DGP method from Class ToStr
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class hsr.HSRSolution
findDepth
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Simple

public Simple(int highest_safe_rung)
Construct a(n) Simple Instance

Method Detail

equals

public boolean equals(java.lang.Object o)
Is the given object Equal to this Simple?

Overrides:
equals in class java.lang.Object

parse

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

Throws:
hsr.ParseException

parse

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

Throws:
hsr.ParseException

parse

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

Throws:
hsr.ParseException

display

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

Overrides:
display in class hsr.HSRSolution

print

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

Overrides:
print in class hsr.HSRSolution

toStr

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

Overrides:
toStr in class hsr.HSRSolution

toString

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

Overrides:
toString in class hsr.HSRSolution

hashCode

public int hashCode()
DGP method from Class HashCode

Overrides:
hashCode in class hsr.HSRSolution

setHighest_safe_rung

public void setHighest_safe_rung(int _highest_safe_rung)
Setter for field Simple.highest_safe_rung


getHighest_safe_rung

public int getHighest_safe_rung()
Getter for field Simple.highest_safe_rung