| Package | Description |
|---|---|
| org.dhcp4java |
This package provides classes for manipulating DHCP Packets: creating, parsing and sending.
|
| Modifier and Type | Method and Description |
|---|---|
static InetCidr[] |
InetCidr.addr2Cidr(InetAddress addr)
Returns an array of all cidr combinations with the provided ip address.
|
static InetCidr |
InetCidr.fromLong(long l)
Creates a new
InetCidr from its long
representation. |
| Modifier and Type | Method and Description |
|---|---|
int |
InetCidr.compareTo(InetCidr rhs)
Compare two InetCidr by its addr as main criterion, mask as second.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
InetCidr.checkNoOverlap(List<InetCidr> list)
Checks whether the list does not contain any overlapping cidr(s).
|
static boolean |
InetCidr.isSorted(List<InetCidr> list)
Checks whether a list of InetCidr is strictly sorted (no 2 equal objects).
|
Copyright © 2018 Philip Helger. All rights reserved.