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

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

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

    Methods in com.h3c.util.ip that return IpRange
    Modifier and Type | Method and Description
    --- | ---
    `IpRange` | Subnet.`getEquivalentIpRange()` Returns an IP range that represents the same set of IP addresses that belong to this subnet.
    `IpRange` | PartialSubnet.`getRange()` Returns the first IP range.
    `static IpRange` | IpRange.`valueOf(String spec)` Returns an IP range for the given specification.

    Methods in com.h3c.util.ip that return types with arguments of type IpRange
    Modifier and Type | Method and Description
    --- | ---
    `static List<IpRange>` | IpRange.`createRanges(String commaSeparatedSpecs)` Returns a list of IP ranges that embody the given range specifications.
    `List<IpRange>` | PartialSubnet.`getRanges()` Returns a copy of the list of IP ranges.

    Methods in com.h3c.util.ip with parameters of type IpRange
    Modifier and Type | Method and Description
    --- | ---
    `int` | IpRange.`compareTo(IpRange o)`
    `boolean` | Subnet.`contains(IpRange range)` Returns true if the given IP address range is contained by this subnet.
    `boolean` | PartialSubnet.`contains(IpRange range)` Returns true if this partial subnet contains the given IP address range; false otherwise.
    `static List<IpAddress>` | IpUtils.`getRandomIps(IpRange range, int count)` Returns a list of randomly generated IP addresses.
    `static PartialSubnet` | PartialSubnet.`valueOf(Subnet subnet, IpRange range)` Returns a `PartialSubnet` instance that encapsulates the given subnet, and IP address range.

    Method parameters in com.h3c.util.ip with type arguments of type IpRange
    Modifier and Type | Method and Description
    --- | ---
    `static String` | IpRange.`rangeListToString(List<IpRange> ranges)` Converts a list of IP address ranges to a comma separated string representation.
    `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.