Class IpElementId

  • All Implemented Interfaces:
    NetworkResource

    public final class IpElementId
    extends ElementId
    Represent for a Element ID using ip address.
    • Method Detail

      • ipElement

        public static IpElementId ipElement​(IpAddress ipAddress)
        Create a IP Element ID.
        Parameters:
        ipAddress - IP address
        Returns:
        IpElementId
      • ipAddress

        public IpAddress ipAddress()
        Returns the ip address.
        Returns:
        ipAddress
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object