public interface IPAddressPart
extends java.io.Serializable
IPAddressDivision
),
each of those being a combination of one or more IP address segments.
The number of such series is the division count.Modifier and Type | Method and Description |
---|---|
int |
getByteCount() |
IPAddressDivision |
getDivision(int index) |
int |
getDivisionCount() |
java.lang.Integer |
getNetworkPrefixLength()
Returns the network prefix, which is 16 for an address like 1.2.0.0/16
If there is no prefix length, returns null.
|
default int |
getPrefixStringLength() |
boolean |
isMultiple()
whether this is a pat of more than one address.
|
IPAddressDivision getDivision(int index)
int getDivisionCount()
int getByteCount()
java.lang.Integer getNetworkPrefixLength()
boolean isMultiple()
default int getPrefixStringLength()