public class IpSet extends Object implements Predicate<InetAddress>
Modifier and Type | Class and Description |
---|---|
static class |
IpSet.IpSetSerializer |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(InetAddress input) |
static IpSet |
fromAddrPrefix(InetAddress address,
int prefixLen) |
static IpSet |
fromCidr(String spec) |
String |
toString() |
public boolean apply(InetAddress input)
apply
in interface Predicate<InetAddress>
public static IpSet fromAddrPrefix(InetAddress address, int prefixLen)