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