public final class HexIntegerLiteral extends java.lang.Object implements IntegerLiteral
HexIntegerLiteral
denotes the nonterminal symbol HexIntegerLiteral, 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 HexIntegerLiteral , and that HexIntegerLiteral instance is equal to this HexIntegerLiteral instance, false otherwise. |
java.lang.String |
getHexNumeral()
Returns a
String with the hex numeral of this HexIntegerLiteral instance. |
java.util.Optional<java.lang.String> |
getIntegerTypeSuffix()
Returns an
Optional of String with the optional integer type suffix of this HexIntegerLiteral instance. |
int |
hashCode()
Returns a hash code for this
HexIntegerLiteral instance. |
java.lang.String |
toString()
Returns a
String representation of this HexIntegerLiteral instance. |
public boolean equals(java.lang.Object object)
true
if, and only if, object
is an instance of HexIntegerLiteral
, and that HexIntegerLiteral
instance is equal to this HexIntegerLiteral
instance, false
otherwise.equals
in class java.lang.Object
object
- an Object
to compare to this HexIntegerLiteral
instance for equalitytrue
if, and only if, object
is an instance of HexIntegerLiteral
, and that HexIntegerLiteral
instance is equal to this HexIntegerLiteral
instance, false
otherwisepublic int hashCode()
HexIntegerLiteral
instance.hashCode
in class java.lang.Object
HexIntegerLiteral
instancepublic java.util.Optional<java.lang.String> getIntegerTypeSuffix()
Optional
of String
with the optional integer type suffix of this HexIntegerLiteral
instance.Optional
of String
with the optional integer type suffix of this HexIntegerLiteral
instancepublic java.lang.String getHexNumeral()
String
with the hex numeral of this HexIntegerLiteral
instance.String
with the hex numeral of this HexIntegerLiteral
instancepublic java.lang.String toString()
String
representation of this HexIntegerLiteral
instance.toString
in class java.lang.Object
String
representation of this HexIntegerLiteral
instance