public interface AddressDivisionSeries extends AddressItem, AddressStringDivisionSeries
Modifier and Type | Method and Description |
---|---|
AddressDivision |
getDivision(int index) |
java.lang.Integer |
getEquivalentPrefix()
Returns a prefix length for which the range of this division series can be specified only using the section's lower value and the prefix length.
|
int |
getMinPrefix()
Returns the smallest prefix length possible such that this address paired with that prefix length represents the exact same range of addresses.
|
java.lang.Integer |
getPrefixLength()
The bit-length of the portion of the address that is not specific to an individual address but common amongst a group of addresses.
|
int |
isMore(AddressDivisionSeries other)
Use this method to compare the counts of two address series.
|
boolean |
isMultipleByPrefix()
whether there is a prefix and it is less than the bit-count
|
boolean |
isPrefixed()
Whether there exists a prefix.
|
boolean |
isRangeEquivalentToPrefix()
whether there is a prefix and the range of values is dictated entirely by the prefix.
|
getBitCount, getBytes, getBytes, getCount, getUpperBytes, getUpperBytes, isFullRange, isMultiple, isZero
getDivisionCount
int isMore(AddressDivisionSeries other)
AddressDivision getDivision(int index)
getDivision
in interface AddressStringDivisionSeries
boolean isPrefixed()
java.lang.Integer getPrefixLength()
boolean isMultipleByPrefix()
boolean isRangeEquivalentToPrefix()
int getMinPrefix()
java.lang.Integer getEquivalentPrefix()