Serializable, Cloneable, Iterable<String>, Collection<String>, Set<String>public class MaskedIPSet extends HashSet<String>
| Constructor | Description |
|---|---|
MaskedIPSet() |
|
MaskedIPSet(int initialCapacity) |
|
MaskedIPSet(RouterContext ctx,
Hash peer,
int mask) |
The Set of IPs for this peer, with a given mask.
|
MaskedIPSet(RouterContext ctx,
Hash peer,
RouterInfo pinfo,
int mask) |
The Set of IPs for this peer, with a given mask.
|
MaskedIPSet(RouterContext ctx,
RouterInfo pinfo,
int mask) |
The Set of IPs for this peer, with a given mask.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsAny(Set<String> b) |
does this contain any of the elements in b?
|
addAll, containsAll, retainAll, toArray, toArray, toStringequals, hashCode, removeAllparallelStream, removeIf, streamadd, clear, clone, contains, isEmpty, iterator, remove, size, spliteratorpublic MaskedIPSet()
public MaskedIPSet(int initialCapacity)
public MaskedIPSet(RouterContext ctx, Hash peer, int mask)
peer - non-nullmask - is 1-4 (number of bytes to match)public MaskedIPSet(RouterContext ctx, RouterInfo pinfo, int mask)
pinfo - may be nullmask - is 1-4 (number of bytes to match)public MaskedIPSet(RouterContext ctx, Hash peer, RouterInfo pinfo, int mask)
pinfo - may be nullmask - is 1-4 (number of bytes to match)