public interface IPAddressStringDivisionSeries extends AddressStringDivisionSeries
AddressDivision
).
The number of such series is the division count.Modifier and Type | Method and Description |
---|---|
IPAddressStringDivision |
getDivision(int index) |
IPAddressNetwork<?,?,?,?,?> |
getNetwork() |
Integer |
getPrefixLength()
The number of bits in the upper-most portion of the segment bits representing a prefix, while the remaining bits can assume all possible values.
|
boolean |
isPrefixBlock()
Returns whether this address section represents a subnet block of addresses corresponding to the prefix of this series.
|
boolean |
isPrefixed()
Whether there exists a prefix length
|
getDivisionCount
IPAddressNetwork<?,?,?,?,?> getNetwork()
IPAddressStringDivision getDivision(int index)
getDivision
in interface AddressStringDivisionSeries
boolean isPrefixBlock()
AddressNetwork.getPrefixConfiguration()
is set to consider all prefixes as subnets, this returns true for any section with a non-null prefix length.boolean isPrefixed()
Integer getPrefixLength()