inet.ipaddr.format

Interface IPAddressStringDivision

    • Method Detail

      • getBitCount

        int getBitCount()
      • getDivisionPrefixLength

        java.lang.Integer getDivisionPrefixLength()
      • isFullRange

        boolean isFullRange()
      • isPrefixBlock

        boolean isPrefixBlock()
        Returns whether the division range includes the block of values for its prefix length
      • isSinglePrefixBlock

        boolean isSinglePrefixBlock()
        Returns whether the division range matches the block of values for its prefix length
      • getPrefixAdjustedRangeString

        int getPrefixAdjustedRangeString(int segmentIndex,
                                         AddressSegmentParams params,
                                         java.lang.StringBuilder appendable)
        Produces a string to represent the segment of the form a-b where the value b has been adjusted for the prefix, anything beyond the prefix length being zero.
        Returns:
        if the supplied appendable is null, returns the length of the string that would have been appended, otherwise returns 0