Package | Description |
---|---|
com.hp.util.ip |
A set of classes representing data values in the network management domain.
|
Modifier and Type | Method and Description |
---|---|
Subnet |
IpRange.getEquivalentSubnet()
Returns an instance of
Subnet equivalent to this IP address
range, if appropriate; null otherwise. |
Subnet |
IpAddress.AddressClass.getPrivateNetwork()
Returns the subnet representing the "private network" defined for
the address class, for classes A, B, C; null for other classes.
|
Subnet |
PartialSubnet.getSubnet()
Returns the subnet.
|
static Subnet |
Subnet.valueOf(IpAddress address,
SubnetMask mask)
Returns a
Subnet instance that encapsulates the
given subnet address and subnet mask. |
static Subnet |
Subnet.valueOf(String spec)
Returns a
Subnet instance that encapsulates the subnet address
and subnet mask expressed in the given string specification. |
Modifier and Type | Method and Description |
---|---|
int |
Subnet.compareTo(Subnet o) |
static PartialSubnet |
PartialSubnet.valueOf(Subnet subnet)
Returns a
PartialSubnet instance that encapsulates the given
subnet, with an implied IP address range that spans the complete subnet. |
static PartialSubnet |
PartialSubnet.valueOf(Subnet subnet,
IpRange range)
Returns a
PartialSubnet instance that encapsulates the given
subnet, and IP address range. |
static PartialSubnet |
PartialSubnet.valueOf(Subnet subnet,
List<IpRange> ranges)
Returns a
PartialSubnet instance that encapsulates the
given subnet, and IP address ranges. |
Copyright © 2015. All Rights Reserved.