|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsdf.SDF_Variable
public class SDF_Variable
This implementation of the Variable interface represents variables as simple strings.
Constructor Summary | |
---|---|
SDF_Variable(String name)
Constructor: |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares for equality: SDF_Variables are equal if, and only if they have the same name. |
int |
hashCode()
Produces the hashcode of the name string object. |
String |
toString()
Converts this variable into a string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SDF_Variable(String name)
name
- The name of the variable.Method Detail |
---|
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |