- java.lang.Object
-
- All Implemented Interfaces:
AddressGenericDivision
,AddressItem
,IPAddressGenericDivision
,AddressStringDivision
,IPAddressStringDivision
,java.io.Serializable
,java.lang.Comparable<AddressItem>
public class IPv4JoinedSegments extends IPAddressJoinedSegments
- Author:
- sfoley
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description IPv4JoinedSegments(int joinedCount, int value)
IPv4JoinedSegments(int joinedCount, long lower, long upper, java.lang.Integer segmentPrefixLength)
IPv4JoinedSegments(int joinedCount, long value, java.lang.Integer segmentPrefixLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
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
getDefaultTextualRadix()
int
getMaxDigitCount()
-
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, getDigitCount, getMaxDigitCount, getMaxValue, getMinPrefixLengthForBlock, 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, 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 Detail
-
IPv4JoinedSegments
public IPv4JoinedSegments(int joinedCount, int value)
-
IPv4JoinedSegments
public IPv4JoinedSegments(int joinedCount, long value, java.lang.Integer segmentPrefixLength)
-
IPv4JoinedSegments
public IPv4JoinedSegments(int joinedCount, long lower, long upper, java.lang.Integer segmentPrefixLength)
-
-
Method Detail
-
getMaxDigitCount
public int getMaxDigitCount()
- Overrides:
getMaxDigitCount
in classIPAddressJoinedSegments
-
getDefaultTextualRadix
public int getDefaultTextualRadix()
-
equals
public boolean equals(java.lang.Object o)
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
-
-