## Uses of Class
com.h3c.util.ip.Subnet

- Packages that use Subnet
  Package | Description
  --- | ---
  com.h3c.util.ip |

- - ### Uses of Subnet in com.h3c.util.ip

    Methods in com.h3c.util.ip that return Subnet
    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.

    Methods in com.h3c.util.ip with parameters of type Subnet
    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 © 2014. All Rights Reserved.