public class AddressBitsDivision extends AddressDivision
AddressDivision.BitwiseOrResult, AddressDivision.MaskResultEXTENDED_DIGITS| Constructor and Description |
|---|
AddressBitsDivision(int value,
int bitCount,
int defaultRadix) |
AddressBitsDivision(int lower,
int upper,
int bitCount,
int defaultRadix) |
| 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() |
int |
hashCode() |
bitwiseOrRange, getDigitCount, getMaxDigitCount, getMaxValue, getMinPrefixLengthForBlock, getPrefixLengthForSingleBlock, getUpperValue, getValue, hasUppercaseVariations, includesMax, includesZero, isBitwiseOrCompatibleWithRange, isBoundedBy, isMaskCompatibleWithRange, isMax, isMultiple, isZero, maskRange, matches, matchesWithMask, matchesWithMaskgetBytes, getBytes, getBytes, getDigitCount, getLowerStandardString, getStandardString, getUpperBytes, getUpperBytes, getUpperBytes, toStringcompareTo, containsPrefixBlock, containsSinglePrefixBlock, getBitsForCount, getBlockSize, getByteCount, getCount, getPrefixCount, isFullRangepublic AddressBitsDivision(int value,
int bitCount,
int defaultRadix)
public AddressBitsDivision(int lower,
int upper,
int bitCount,
int defaultRadix)
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 AddressDivisionpublic int getDefaultTextualRadix()