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