public class IPAddressStringDivisionGrouping extends AddressStringDivisionGrouping implements IPAddressStringDivisionSeries
| Constructor and Description |
|---|
IPAddressStringDivisionGrouping(IPAddressStringDivision[] divisions,
IPAddressNetwork<?,?,?,?,?> network,
java.lang.Integer prefixLength) |
| Modifier and Type | Method and Description |
|---|---|
IPAddressStringDivision |
getDivision(int index) |
IPAddressNetwork<?,?,?,?,?> |
getNetwork() |
java.lang.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
|
getDivisionCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDivisionCountpublic IPAddressStringDivisionGrouping(IPAddressStringDivision[] divisions, IPAddressNetwork<?,?,?,?,?> network, java.lang.Integer prefixLength)
public IPAddressNetwork<?,?,?,?,?> getNetwork()
getNetwork in interface IPAddressStringDivisionSeriespublic IPAddressStringDivision getDivision(int index)
getDivision in interface AddressStringDivisionSeriesgetDivision in interface IPAddressStringDivisionSeriesgetDivision in class AddressStringDivisionGroupingpublic boolean isPrefixed()
IPAddressStringDivisionSeriesisPrefixed in interface IPAddressStringDivisionSeriespublic java.lang.Integer getPrefixLength()
IPAddressStringDivisionSeriesgetPrefixLength in interface IPAddressStringDivisionSeriespublic boolean isPrefixBlock()
IPAddressStringDivisionSeriesAddressNetwork.getPrefixConfiguration() is set to consider all prefixes as subnets, this returns true for any section with a non-null prefix length.isPrefixBlock in interface IPAddressStringDivisionSeries