public final class CharacterLiteral extends java.lang.Object implements Literal
CharacterLiteral
denotes the nonterminal symbol CharacterLiteral, 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 CharacterLiteral , and that CharacterLiteral instance is equal to this CharacterLiteral instance, false otherwise. |
int |
hashCode()
Returns a hash code for this
CharacterLiteral instance. |
java.lang.String |
toString()
Returns a
String representation of this CharacterLiteral instance. |
public boolean equals(java.lang.Object object)
true
if, and only if, object
is an instance of CharacterLiteral
, and that CharacterLiteral
instance is equal to this CharacterLiteral
instance, false
otherwise.equals
in class java.lang.Object
object
- an Object
to compare to this CharacterLiteral
instance for equalitytrue
if, and only if, object
is an instance of CharacterLiteral
, and that CharacterLiteral
instance is equal to this CharacterLiteral
instance, false
otherwisepublic int hashCode()
CharacterLiteral
instance.hashCode
in class java.lang.Object
CharacterLiteral
instancepublic java.lang.String toString()
String
representation of this CharacterLiteral
instance.toString
in class java.lang.Object
String
representation of this CharacterLiteral
instance