public class MaskedIPSet extends HashSet<String>
| Constructor and Description |
|---|
MaskedIPSet() |
MaskedIPSet(int initialCapacity) |
MaskedIPSet(RouterContext ctx,
net.i2p.data.Hash peer,
int mask)
The Set of IPs for this peer, with a given mask.
|
MaskedIPSet(RouterContext ctx,
net.i2p.data.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 and Description |
|---|---|
boolean |
containsAny(Set<String> b)
does this contain any of the elements in b?
|
add, clear, clone, contains, isEmpty, iterator, remove, size, spliteratorequals, hashCode, removeAlladdAll, containsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArrayparallelStream, removeIf, streampublic MaskedIPSet()
public MaskedIPSet(int initialCapacity)
public MaskedIPSet(RouterContext ctx, net.i2p.data.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, net.i2p.data.Hash peer, RouterInfo pinfo, int mask)
pinfo - may be nullmask - is 1-4 (number of bytes to match)