|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.lexer.classes.State
public class State
Representation of State
Nested Class Summary | |
---|---|
static class |
State.id
Field Class for State.id |
Constructor Summary | |
---|---|
State(int id)
Construct a(n) State Instance |
Method Summary | |
---|---|
int |
compareTo(State s)
|
boolean |
equals(java.lang.Object o)
Is the given object Equal to this State? |
static State |
fresh()
|
int |
getId()
Getter for field State.id |
int |
hashCode()
|
static State |
parse(java.io.InputStream inpt)
Parse an instance of State from the given Stream |
static State |
parse(java.io.Reader inpt)
Parse an instance of State from the given Reader |
static State |
parse(java.lang.String inpt)
Parse an instance of State from the given String |
java.lang.String |
toString()
DGP method from Class PrintToString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public State(int id)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static State parse(java.lang.String inpt) throws ParseException
ParseException
public static State parse(java.io.InputStream inpt) throws ParseException
ParseException
public static State parse(java.io.Reader inpt) throws ParseException
ParseException
public static State fresh()
public int compareTo(State s)
compareTo
in interface java.lang.Comparable<State>
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |