| Modifier and Type | Field and Description |
|---|---|
protected Selector<Context<?>> |
down |
protected Selector<Context<?>> |
up |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<Selector<Context<?>>> |
chain()
Chain of selectors.
|
ConnectToParentWrapperSelector |
clone()
Creates and returns a copy of this object.
|
long |
metrics()
Metrics of the selector.
|
String |
name()
Name of the selector.
|
Selector |
next()
Next selector in selector chain.
|
static ConnectToParentWrapperSelector |
of(Selector<Context<?>> down,
Selector<Context<?>> up) |
boolean |
test(Context<?> context) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, isEqual, negate, orpublic static ConnectToParentWrapperSelector of(Selector<Context<?>> down, Selector<Context<?>> up)
public java.util.stream.Stream<Selector<Context<?>>> chain()
Selectorpublic Selector next()
Selectorpublic long metrics()
Selectorpublic boolean test(Context<?> context)
test in interface java.util.function.Predicate<Context<?>>public ConnectToParentWrapperSelector clone() throws CloneNotSupportedException
Selectorclone in interface Selector<Context<?>>clone in class ObjectCloneNotSupportedException - if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.Object.clone()Copyright © 2020. All rights reserved.