Class ObjectReference

    • Constructor Detail

      • ObjectReference

        public ObjectReference​(ISnapshot snapshot,
                               long address)
        Create a reference to an object based on its address but in a form where the object id can be found.
        Parameters:
        snapshot -
        address -
    • Method Detail

      • getObjectAddress

        public long getObjectAddress()
        The actual address of the object
        Returns:
        the address
      • toString

        public String toString()
        A simple view of the object as an address
        Overrides:
        toString in class Object
        Returns:
        the object address as a hexadecimal number.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object