Modifier and Type | Class and Description |
---|---|
class |
IPv6Network
Immutable representation of an IPv6 network based on an address and a prefix length.
|
Modifier and Type | Method and Description |
---|---|
IPv6AddressRange |
IPv6AddressRange.extend(IPv6Address address)
Extend the range just enough at its head or tail such that the given address is included.
|
static IPv6AddressRange |
IPv6AddressRange.fromFirstAndLast(IPv6Address first,
IPv6Address last) |
Modifier and Type | Method and Description |
---|---|
List<IPv6AddressRange> |
IPv6AddressRange.remove(IPv6Address address)
Remove an address from the range, resulting in one, none or two new ranges.
|
List<IPv6AddressRange> |
IPv6AddressRange.remove(IPv6Network network)
Remove a network from the range, resulting in one, none or two new ranges.
|
Modifier and Type | Method and Description |
---|---|
int |
IPv6AddressRange.compareTo(IPv6AddressRange that)
The natural order of
IPv6AddressRange s orders them on increasing first addresses, and on increasing last
address if the first address would be equal. |
boolean |
IPv6AddressRange.contains(IPv6AddressRange range) |
boolean |
IPv6AddressPool.contains(IPv6AddressRange range) |
static IPv6AddressPool |
IPv6AddressPool.fromRangeAndSubnet(IPv6AddressRange range,
IPv6NetworkMask allocationSubnetSize)
Create a pool of the given range (boundaries inclusive) which is completely free.
|
boolean |
IPv6AddressRange.overlaps(IPv6AddressRange range) |
boolean |
IPv6AddressPool.overlaps(IPv6AddressRange range) |
Copyright © 2013. All Rights Reserved.