public class ConstantParam extends LiteralParam
type| Constructor and Description |
|---|
ConstantParam(java.lang.String name) |
ConstantParam(java.lang.String name,
boolean pVariablesMayBeUnifiedWithThisConstant) |
ConstantParam(java.lang.String name,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
It is with intention that the equals method does NOT check the type.
|
int |
hashCode() |
java.lang.String |
toString() |
boolean |
variablesMayBeUnifiedWithThisConstant() |
getName, getType, setTypepublic ConstantParam(java.lang.String name,
boolean pVariablesMayBeUnifiedWithThisConstant)
public ConstantParam(java.lang.String name)
public ConstantParam(java.lang.String name,
Type type)
public int hashCode()
hashCode in class LiteralParampublic boolean equals(java.lang.Object obj)
LiteralParamequals in class LiteralParampublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean variablesMayBeUnifiedWithThisConstant()