public abstract class IPAddressJoinedSegments extends IPAddressDivision
AddressDivision.BitwiseOrResult, AddressDivision.MaskResult| Constructor and Description |
|---|
IPAddressJoinedSegments(int joinedCount,
int value) |
IPAddressJoinedSegments(int joinedCount,
long value,
Integer segmentPrefixLength) |
IPAddressJoinedSegments(int joinedCount,
long lower,
long upper,
Integer segmentPrefixLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
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 |
getBitCount()
Provides the number of bits comprising this address item
|
long |
getDivisionValue() |
int |
getJoinedCount() |
int |
getMaxDigitCount() |
long |
getUpperDivisionValue() |
int |
hashCode() |
containsPrefixBlock, containsSinglePrefixBlock, getBlockMaskPrefixLength, getDivisionPrefixLength, getLeadingBitCount, getPrefixAdjustedRangeString, getString, getTrailingBitCount, getWildcardString, isPrefixBlock, isPrefixed, isSinglePrefixBlock, matchesWithPrefixMaskbitwiseOrRange, getCount, getDigitCount, getDivisionPrefixCount, getDivisionValueCount, getMaxDigitCount, getMaxValue, getMinPrefixLengthForBlock, getPrefixCount, getPrefixLengthForSingleBlock, getUpperValue, getValue, hasUppercaseVariations, includesMax, includesZero, isBitwiseOrCompatibleWithRange, isBoundedBy, isMaskCompatibleWithRange, isMax, isMultiple, isZero, maskRange, matches, matchesWithMask, matchesWithMaskgetBytes, getBytes, getBytes, getDigitCount, getLowerStandardString, getStandardString, getUpperBytes, getUpperBytes, getUpperBytes, toStringisFullRangecompareTo, getByteCount, getBytes, getBytes, getBytes, getCount, getMinPrefixLengthForBlock, getPrefixCount, getPrefixLengthForSingleBlock, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isMax, isMultiple, isZerogetDigitCount, getLowerStandardString, getMaxDigitCount, getStandardString, isBoundedBypublic IPAddressJoinedSegments(int joinedCount,
int value)
public IPAddressJoinedSegments(int joinedCount,
long value,
Integer segmentPrefixLength)
public IPAddressJoinedSegments(int joinedCount,
long lower,
long upper,
Integer segmentPrefixLength)
public int getJoinedCount()
public long getDivisionValue()
getDivisionValue in class AddressDivisionpublic long getUpperDivisionValue()
getUpperDivisionValue in class AddressDivisionpublic int getBitCount()
AddressItempublic int getMaxDigitCount()
public boolean equals(Object other)
AddressDivisionBaseequals in class AddressDivisionpublic int hashCode()
hashCode in class AddressDivision