public class IPAddressBitsDivision extends IPAddressDivision
AddressDivision.BitwiseOrResult, AddressDivision.MaskResultEXTENDED_DIGITS| Constructor and Description |
|---|
IPAddressBitsDivision(long value,
long upperValue,
int bitCount,
int defaultRadix) |
IPAddressBitsDivision(long value,
long upperValue,
int bitCount,
int defaultRadix,
IPAddressNetwork<?,?,?,?,?> network,
Integer networkPrefixLength) |
| 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
|
int |
getDefaultTextualRadix() |
long |
getDivisionValue() |
int |
getMaxDigitCount() |
long |
getUpperDivisionValue() |
containsPrefixBlock, containsSinglePrefixBlock, getBlockMaskPrefixLength, getDivisionPrefixLength, getLeadingBitCount, getPrefixAdjustedRangeString, getString, getTrailingBitCount, getWildcardString, isPrefixBlock, isPrefixed, isSinglePrefixBlock, matchesWithPrefixMaskbitwiseOrRange, getDigitCount, getMaxDigitCount, getMaxValue, getMinPrefixLengthForBlock, getPrefixLengthForSingleBlock, getUpperValue, getValue, hashCode, 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 IPAddressBitsDivision(long value,
long upperValue,
int bitCount,
int defaultRadix)
public IPAddressBitsDivision(long value,
long upperValue,
int bitCount,
int defaultRadix,
IPAddressNetwork<?,?,?,?,?> network,
Integer networkPrefixLength)
public int getBitCount()
AddressItempublic long getDivisionValue()
getDivisionValue in class AddressDivisionpublic long getUpperDivisionValue()
getUpperDivisionValue in class AddressDivisionpublic boolean equals(Object other)
AddressDivisionBaseequals in class AddressDivisionother - the reference object with which to compare.true if this object is the same as the obj
argument; false otherwise.Object.hashCode(),
HashMappublic int getDefaultTextualRadix()
public int getMaxDigitCount()