Class BrowserAddress

    • Constructor Detail

      • BrowserAddress

        public BrowserAddress()
        Default Constructor
      • BrowserAddress

        public BrowserAddress​(BrowserAddress browserAddressObj)
        Copy constructor
        Parameters:
        browserAddressObj - reference to the object to be copied
      • BrowserAddress

        public BrowserAddress​(String windowId)
        Parameterized constructor
        Parameters:
        windowId - the ID of the browser window
    • Method Detail

      • getWindowId

        public String getWindowId()
        Gets WindowId
        Returns:
        the ID of the browser window
      • setWindowId

        public void setWindowId​(String windowId)
        Sets WindowId
        Parameters:
        windowId - the ID of the browser window
      • toString

        public String toString()
        Stringifies the class
        Overrides:
        toString in class Address
        Returns:
        stringified class content
      • equals

        public boolean equals​(Object obj)
        Check for equality
        Overrides:
        equals in class Address
        Parameters:
        obj - Reference to the object to compare to
        Returns:
        true, if objects are equal, false otherwise
      • hashCode

        public int hashCode()
        Calculate code for hashing based on member contents
        Overrides:
        hashCode in class Address
        Returns:
        The calculated hash code