inet.ipaddr.format

Class IPAddressJoinedSegments

    • Constructor Detail

      • IPAddressJoinedSegments

        public IPAddressJoinedSegments(int joinedCount,
                                       int value)
      • IPAddressJoinedSegments

        public IPAddressJoinedSegments(int joinedCount,
                                       long value,
                                       java.lang.Integer segmentPrefixLength)
      • IPAddressJoinedSegments

        public IPAddressJoinedSegments(int joinedCount,
                                       long lower,
                                       long upper,
                                       java.lang.Integer segmentPrefixLength)
    • Method Detail

      • getJoinedCount

        public int getJoinedCount()
      • getBitCount

        public int getBitCount()
        Returns:
        the number of bits comprising this address item
      • getMaxDigitCount

        public int getMaxDigitCount()
        Specified by:
        getMaxDigitCount in class AddressDivisionBase
        Returns:
        the number of digits for the maximum possible value of the division when using the default radix
      • equals

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

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