Class IPv4JoinedSegments
- All Implemented Interfaces:
AddressGenericDivision, AddressItem, IPAddressGenericDivision, AddressStringDivision, IPAddressStringDivision, Serializable, Comparable<AddressItem>
- Author:
- sfoley
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AddressDivision
AddressDivision.BitwiseOrResult, AddressDivision.MaskResult -
Field Summary
Fields inherited from class 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 IPAddressJoinedSegments
getBitCount, getDivisionValue, getJoinedCount, getUpperDivisionValue, hashCodeMethods inherited from class IPAddressDivision
containsPrefixBlock, containsSinglePrefixBlock, getBlockMaskPrefixLength, getDivisionPrefixLength, getLeadingBitCount, getPrefixAdjustedRangeString, getString, getTrailingBitCount, getWildcardString, isPrefixBlock, isPrefixed, isSinglePrefixBlock, matchesWithPrefixMaskMethods inherited from class 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 AddressDivisionBase
getBytes, getBytes, getBytes, getDigitCount, getDigitCount, getLowerStandardString, getStandardString, getUpperBytes, getUpperBytes, getUpperBytes, toStringMethods inherited from interface AddressItem
compareTo, getByteCount, getBytes, getBytes, getBytes, getCount, getMinPrefixLengthForBlock, getPrefixCount, getPrefixLengthForSingleBlock, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isMax, isMultiple, isZeroMethods inherited from interface AddressStringDivision
getDigitCount, getLowerStandardString, getMaxDigitCount, getStandardString, isBoundedByMethods inherited from interface 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
-