public class AddressLargeDivision extends AddressDivisionBase
| Modifier and Type | Field and Description |
|---|---|
static char[] |
EXTENDED_DIGITS |
static char |
EXTENDED_DIGITS_RANGE_SEPARATOR |
static java.lang.String |
EXTENDED_DIGITS_RANGE_SEPARATOR_STR |
| Constructor and Description |
|---|
AddressLargeDivision(byte[] bytes,
byte[] upperBytes,
int bitCount,
int defaultRadix,
java.lang.Integer networkPrefixLength) |
AddressLargeDivision(byte[] bytes,
int bitCount,
int defaultRadix,
java.lang.Integer prefix) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBitCount() |
int |
getConfiguredString(int segmentIndex,
AddressSegmentParams params,
java.lang.StringBuilder appendable)
Configures a segment string according to the given params and the given segment index.
|
java.math.BigInteger |
getCount()
The count of possible distinct values for this AddressComponent.
|
int |
getDefaultTextualRadix() |
int |
getDigitCount(int radix)
Returns the count of digits of the value, or if a range, the larger value in the range
|
int |
getMaxDigitCount() |
int |
getMaxDigitCount(int radix)
Returns the count of digits of the largest possible value
|
boolean |
isBoundedBy(int val)
Returns true if the possible values of this division fall below the given boundary value.
|
boolean |
isFullRange() |
boolean |
isMultiple()
Whether this represents multiple potential values (eg a prefixed address or a segment representing a range of values)
|
boolean |
isZero() |
getBytes, getBytes, getDigitCount, getPrefixAdjustedString, getStandardString, getString, getUpperBytes, getUpperBytes, toStringpublic static final char EXTENDED_DIGITS_RANGE_SEPARATOR
public static final java.lang.String EXTENDED_DIGITS_RANGE_SEPARATOR_STR
public static final char[] EXTENDED_DIGITS
public AddressLargeDivision(byte[] bytes,
byte[] upperBytes,
int bitCount,
int defaultRadix,
java.lang.Integer networkPrefixLength)
public AddressLargeDivision(byte[] bytes,
int bitCount,
int defaultRadix,
java.lang.Integer prefix)
public boolean isBoundedBy(int val)
AddressStringDivisionpublic int getDigitCount(int radix)
AddressStringDivisionpublic java.math.BigInteger getCount()
AddressItempublic int getBitCount()
public boolean isMultiple()
AddressItempublic boolean isZero()
public boolean isFullRange()
public int getDefaultTextualRadix()
getDefaultTextualRadix in class AddressDivisionBasepublic int getMaxDigitCount()
getMaxDigitCount in class AddressDivisionBasepublic int getMaxDigitCount(int radix)
AddressStringDivisionpublic int getConfiguredString(int segmentIndex,
AddressSegmentParams params,
java.lang.StringBuilder appendable)
AddressStringDivisiongetConfiguredString in interface AddressStringDivisiongetConfiguredString in class AddressDivisionBase