- 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 -
Field Summary
Fields inherited from class inet.ipaddr.format.AddressDivisionBase
EXTENDED_DIGITS -
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 TypeMethodDescriptionbooleanTwo 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.intintMethods inherited from class inet.ipaddr.format.standard.IPAddressJoinedSegments
getBitCount, getDivisionValue, getJoinedCount, getUpperDivisionValue, hashCodeMethods inherited from class inet.ipaddr.format.standard.IPAddressDivision
containsPrefixBlock, containsSinglePrefixBlock, getBlockMaskPrefixLength, getDivisionPrefixLength, getLeadingBitCount, getPrefixAdjustedRangeString, getString, getTrailingBitCount, getWildcardString, isPrefixBlock, isPrefixed, isSinglePrefixBlock, matchesWithPrefixMaskMethods inherited from class inet.ipaddr.format.standard.AddressDivision
bitwiseOrRange, getDigitCount, getMaxDigitCount, getMaxValue, getMinPrefixLengthForBlock, getPrefixLengthForSingleBlock, getUpperValue, getValue, hasUppercaseVariations, includesMax, includesZero, isBitwiseOrCompatibleWithRange, isBoundedBy, isMaskCompatibleWithRange, isMax, isMultiple, isZero, maskRange, matches, matchesWithMask, matchesWithMaskMethods inherited from class inet.ipaddr.format.AddressDivisionBase
getBytes, getBytes, getBytes, getDigitCount, getDigitCount, getLowerStandardString, getStandardString, getUpperBytes, getUpperBytes, getUpperBytes, toStringMethods 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, isZeroMethods inherited from interface inet.ipaddr.format.string.AddressStringDivision
getDigitCount, getLowerStandardString, getMaxDigitCount, getStandardString, isBoundedByMethods 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:
getMaxDigitCountin classIPAddressJoinedSegments
-
getDefaultTextualRadix
public int getDefaultTextualRadix() -
equals
Description copied from class:AddressDivisionBaseTwo 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:
equalsin classIPAddressJoinedSegments
-