public final class CombinedIpBlock extends IpBlock
| Constructor and Description |
|---|
CombinedIpBlock(java.util.List<IpBlock> ipBlocks) |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetAddress |
getAddressAtIndex(java.math.BigInteger index) |
int |
getMaskBits()
Estimates the virtual mask bits of the combined block
|
java.net.InetAddress |
getRandomAddress() |
java.math.BigInteger |
getSize() |
java.lang.Class |
getType() |
getAddressAtIndexpublic CombinedIpBlock(java.util.List<IpBlock> ipBlocks)
public java.net.InetAddress getRandomAddress()
getRandomAddress in class IpBlockpublic java.net.InetAddress getAddressAtIndex(java.math.BigInteger index)
getAddressAtIndex in class IpBlockpublic int getMaskBits()
getMaskBits in class IpBlock