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