|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.chaperon.model.symbol.Symbol
net.sourceforge.chaperon.model.symbol.Terminal
public class Terminal
This class represent a terminal symbol.
Constructor Summary | |
---|---|
Terminal()
|
|
Terminal(java.lang.String name)
Create a nonterminal symbol. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares the with another symbol. |
int |
hashCode()
Returns a hash code value for the symbol. |
Methods inherited from class net.sourceforge.chaperon.model.symbol.Symbol |
---|
getName, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Terminal(java.lang.String name)
name
- Name of the symbol.public Terminal()
Method Detail |
---|
public int hashCode()
hashCode
in class Symbol
public boolean equals(java.lang.Object o)
equals
in class Symbol
o
- Another object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |