| Package | Description |
|---|---|
| com.h3c.util.ip |
| Modifier and Type | Method and Description |
|---|---|
static MacRange |
MacRange.valueOf(MacPrefix prefix)
Returns a MAC range for the given prefix.
|
static MacRange |
MacRange.valueOf(String spec)
Returns a MAC range for the given specification.
|
| Modifier and Type | Method and Description |
|---|---|
static List<MacRange> |
MacRange.createRanges(String commaSeparatedSpecs)
Returns a list of MAC ranges that embody the given range specifications.
|
| Modifier and Type | Method and Description |
|---|---|
int |
MacRange.compareTo(MacRange o) |
static List<MacAddress> |
MacUtils.getRandomMacs(MacRange range,
int count)
Returns a list of randomly generated MAC addresses.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
MacRange.rangeListToString(List<MacRange> ranges)
Converts a list of MAC address ranges to a comma separated string
representation.
|
Copyright © 2014. All Rights Reserved.