| Package | Description |
|---|---|
| inet.ipaddr | |
| inet.ipaddr.ipv4 | |
| inet.ipaddr.ipv6 |
| Modifier and Type | Method and Description |
|---|---|
abstract IPAddress |
IPAddress.bitwiseOr(IPAddress mask)
Equivalent to calling
IPAddress.bitwiseOr(IPAddress, boolean) with the second argument as false. |
abstract IPAddress |
IPAddress.bitwiseOr(IPAddress mask,
boolean retainPrefix)
Does the bitwise disjunction with this address.
|
abstract IPAddress |
IPAddress.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
abstract IPAddress |
IPAddress.mask(IPAddress mask)
Equivalent to calling
IPAddress.mask(IPAddress, boolean) with the second argument as false. |
abstract IPAddress |
IPAddress.mask(IPAddress mask,
boolean retainPrefix)
Applies the given mask to all addresses represented by this IPAddress.
|
abstract IPAddress |
IPAddress.maskNetwork(IPAddress mask,
int networkPrefixLength)
Applies the given mask to all addresses represented by this IPAddress while also applying the given prefix length at the same time.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IPv4AddressSegment.isMaskCompatibleWithRange(IPv4AddressSegment maskSegment,
java.lang.Integer segmentPrefixLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IPv6AddressSegment.isMaskCompatibleWithRange(IPv6AddressSegment maskSegment,
java.lang.Integer segmentPrefixLength) |