public final class StringLiteral extends java.lang.Object implements Literal
StringLiteral
denotes the nonterminal symbol StringLiteral, as defined by the Java Language Specification.Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Returns
true if, and only if, object is an instance of StringLiteral , and that StringLiteral instance is equal to this StringLiteral instance, false otherwise. |
int |
hashCode()
Returns a hash code for this
StringLiteral instance. |
java.lang.String |
toString()
Returns a
String representation of this StringLiteral instance. |
public boolean equals(java.lang.Object object)
true
if, and only if, object
is an instance of StringLiteral
, and that StringLiteral
instance is equal to this StringLiteral
instance, false
otherwise.equals
in class java.lang.Object
object
- an Object
to compare to this StringLiteral
instance for equalitytrue
if, and only if, object
is an instance of StringLiteral
, and that StringLiteral
instance is equal to this StringLiteral
instance, false
otherwisepublic int hashCode()
StringLiteral
instance.hashCode
in class java.lang.Object
StringLiteral
instancepublic java.lang.String toString()
String
representation of this StringLiteral
instance.toString
in class java.lang.Object
String
representation of this StringLiteral
instance