Class SpecialAddress

  • All Implemented Interfaces:
    Address, java.lang.Comparable<Address>

    public class SpecialAddress
    extends GenericAddress
    Class used represent "special addresses"
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from interface: Address
        Returns a String representation of the address in hex and padded to the appropriate size.
        Specified by:
        toString in interface Address
        Overrides:
        toString in class GenericAddress
        See Also:
        Object.toString()
      • toString

        public java.lang.String toString​(boolean showAddressSpace)
        Description copied from interface: Address
        Returns a String representation that may include the address space name
        Specified by:
        toString in interface Address
        Overrides:
        toString in class GenericAddress
        Parameters:
        showAddressSpace - true if the address space should be included in resulting string.
        Returns:
        String the string representation of the address
        See Also:
        Address.toString(boolean)
      • toString

        public java.lang.String toString​(java.lang.String prefix)
        Description copied from interface: Address
        Returns a String representation of the address using the given string as a prefix. Equivalent of prefix + ":" + toString(false)
        Specified by:
        toString in interface Address
        Overrides:
        toString in class GenericAddress
        Parameters:
        prefix - the string to prepend to the address string.
        See Also:
        Address.toString(java.lang.String)