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()
      • getMaxValue

        public long getMaxValue()
      • getDefaultMaxChars

        public int getDefaultMaxChars()
        Specified by:
        getDefaultMaxChars in class IPAddressDivision
        Returns:
        the max number of characters per segment 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