- All Implemented Interfaces:
AddressGenericDivision
,AddressItem
,IPAddressGenericDivision
,AddressStringDivision
,IPAddressStringDivision
,Serializable
,Comparable<AddressItem>
- Author:
- sfoley
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class inet.ipaddr.format.standard.AddressDivision
AddressDivision.BitwiseOrResult, AddressDivision.MaskResult
-
Constructor Summary
ConstructorsConstructorDescriptionIPv4JoinedSegments
(int joinedCount, int value) IPv4JoinedSegments
(int joinedCount, long lower, long upper, Integer segmentPrefixLength) IPv4JoinedSegments
(int joinedCount, long value, Integer segmentPrefixLength) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Two divisions are equal if they: - they match type/version (ipv4, ipv6, mac, or a specific division class) - match bit counts - match values Prefix lengths, for those divisions that have them, are ignored.int
int
Methods inherited from class inet.ipaddr.format.standard.IPAddressJoinedSegments
getBitCount, getDivisionValue, getJoinedCount, getUpperDivisionValue, hashCode
Methods inherited from class inet.ipaddr.format.standard.IPAddressDivision
containsPrefixBlock, containsSinglePrefixBlock, getBlockMaskPrefixLength, getDivisionPrefixLength, getLeadingBitCount, getPrefixAdjustedRangeString, getString, getTrailingBitCount, getWildcardString, isPrefixBlock, isPrefixed, isSinglePrefixBlock, matchesWithPrefixMask
Methods inherited from class inet.ipaddr.format.standard.AddressDivision
bitwiseOrRange, getCount, getDigitCount, getDivisionPrefixCount, getDivisionValueCount, getMaxDigitCount, getMaxValue, getMinPrefixLengthForBlock, getPrefixCount, getPrefixLengthForSingleBlock, getUpperValue, getValue, hasUppercaseVariations, includesMax, includesZero, isBitwiseOrCompatibleWithRange, isBoundedBy, isMaskCompatibleWithRange, isMax, isMultiple, isZero, maskRange, matches, matchesWithMask, matchesWithMask
Methods inherited from class inet.ipaddr.format.AddressDivisionBase
getBytes, getBytes, getBytes, getDigitCount, getLowerStandardString, getStandardString, getUpperBytes, getUpperBytes, getUpperBytes, toString
Methods inherited from interface inet.ipaddr.format.AddressItem
compareTo, getByteCount, getBytes, getBytes, getBytes, getCount, getMinPrefixLengthForBlock, getPrefixCount, getPrefixLengthForSingleBlock, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isMax, isMultiple, isZero
Methods inherited from interface inet.ipaddr.format.string.AddressStringDivision
getDigitCount, getLowerStandardString, getMaxDigitCount, getStandardString, isBoundedBy
Methods inherited from interface inet.ipaddr.format.IPAddressGenericDivision
isFullRange
-
Constructor Details
-
IPv4JoinedSegments
public IPv4JoinedSegments(int joinedCount, int value) -
IPv4JoinedSegments
-
IPv4JoinedSegments
-
-
Method Details
-
getMaxDigitCount
public int getMaxDigitCount()- Overrides:
getMaxDigitCount
in classIPAddressJoinedSegments
-
getDefaultTextualRadix
public int getDefaultTextualRadix() -
equals
Description copied from class:AddressDivisionBase
Two divisions are equal if they: - they match type/version (ipv4, ipv6, mac, or a specific division class) - match bit counts - match values Prefix lengths, for those divisions that have them, are ignored.- Overrides:
equals
in classIPAddressJoinedSegments
-