protected class TunnelPeerSelector.Excluder extends ExcluderBase
s
Constructor and Description |
---|
Excluder(boolean isInbound,
boolean isExploratory)
Automatically adds selectPeersInTooManyTunnels(), unless i2np.allowLocal.
|
Excluder(boolean isInbound,
boolean isExploratory,
Set<Hash> toAdd)
Does not add selectPeersInTooManyTunnels().
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object o)
Overridden to automatically check our exclusion criteria
and add the Hash to the set if the criteria are met.
|
add, addAll, clear, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
parallelStream, removeIf, stream
public Excluder(boolean isInbound, boolean isExploratory)
public boolean contains(Object o)
contains
in interface Collection<Hash>
contains
in interface Set<Hash>
contains
in class ExcluderBase
o
- a Hash