Module inet.ipaddr

Class IPv6AddressSection.IPv6v4MixedAddressSection

    • Method Detail

      • getByteCount

        public int getByteCount()
        Description copied from interface: AddressItem
        Provides the number of bytes required for this address item, rounding up if the bit count is not a multiple of 8
        Returns:
        the number of bytes
      • getBitCount

        public int getBitCount()
        Description copied from interface: AddressItem
        Provides the number of bits comprising this address item
        Returns:
        the number of bits
      • equals

        public boolean equals​(java.lang.Object o)
        Description copied from class: AddressDivisionGroupingBase
        Two groupings are equal if: - they match type/version (ipv4, ipv6, mac, or a specific grouping class) - they match division counts - each division matches bit counts - each division matches their specific grouping class - each division matches values Prefix lengths, for those groupings and/or divisionsS that have them, are ignored.
        Overrides:
        equals in class IPAddressDivisionGrouping