Use a canonically-named utility class to tack on methods to the existing InetAddress class. Rename IPCidr to InetNetwork so it better matches InetAddress and is more pronouceable :) While here, simplify the constructor and toString() functions, and properly implement hashCode(). Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
|---|---|---|
| .. | ||
| Attribute.java | ||
| Config.java | ||
| InetAddresses.java | ||
| InetNetwork.java | ||
| Interface.java | ||
| Peer.java | ||