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