|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mindswap.pellet.rete.Constant
public class Constant
Constructor Summary | |
---|---|
Constant()
Creates a null constant. |
|
Constant(java.lang.String value)
Creates a constant. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Checks if this constant is equal to some other constant. |
java.lang.String |
getValue()
|
int |
hashCode()
|
java.lang.String |
toString()
Converts this constant to a string. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Constant()
public Constant(java.lang.String value)
value
- the value of the constantMethod Detail |
---|
public java.lang.String getValue()
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 constant
true
if this constant is equal to some other constantpublic int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |