|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mindswap.pellet.rete.Variable
public class Variable
Constructor Summary | |
---|---|
Variable(java.lang.String variableName)
Creates a variable. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object arg0)
|
boolean |
equals(java.lang.Object other)
Checks if this variable is equal to some other variable. |
java.lang.String |
getVariableName()
Returns the name of this variable. |
int |
hashCode()
|
java.lang.String |
toString()
Converts this variable to a string. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Variable(java.lang.String variableName)
variableName
- the name of the variableMethod Detail |
---|
public java.lang.String getVariableName()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the other object
true
if this variable is equal to some other variablepublic int hashCode()
hashCode
in class java.lang.Object
public int compareTo(java.lang.Object arg0)
compareTo
in interface java.lang.Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |