public class CommonValueMatchSelector<T> extends Object implements Cloneable
| Constructor and Description |
|---|
CommonValueMatchSelector(String name,
Selector<Context<?>> parent,
long metrics,
java.util.function.BiPredicate<T,Path<?,?>> matcher,
T value) |
| Modifier and Type | Method and Description |
|---|---|
CommonValueMatchSelector<T> |
clone()
Creates and returns a copy of this object.
|
java.util.function.BiPredicate<T,Path<?,?>> |
getMatcher() |
T |
getValue() |
long |
metrics()
Metrics of the selector.
|
String |
name()
Name of the selector.
|
Selector<Context<?>> |
next()
Next selector in selector chain.
|
boolean |
test(Context<?> path) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, isEqual, negate, orpublic T getValue()
public java.util.function.BiPredicate<T,Path<?,?>> getMatcher()
public boolean test(Context<?> path)
test in interface java.util.function.Predicate<Context<?>>public CommonValueMatchSelector<T> clone() throws CloneNotSupportedException
Selectorclone in interface Selector<Context<?>>CloneNotSupportedException - 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()public Selector<Context<?>> next()
SelectorCopyright © 2020. All rights reserved.