Interface Ip4AddressValued

    • Method Detail

      • asAddress

        byte[] asAddress()
        Gets the contained raw IPv4 address value. The array returned is a copy of the binary data contained in the object.
        Returns:
        the contained value as a byte[4]. If null valued, as indicated by TokenValued.isNull(), null is returned.
      • asInet4Address

        Inet4Address asInet4Address()
        Gets the contained IP address as an Inet4Address.
        Returns:
        the contained value as a Inet4Address. If null valued, as indicated by TokenValued.isNull(), null is returned.