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