T - The type of the object that is being matched.public interface ElementMatcher<T>
Predicates but compatible to Java 6 and Java 7 and represent
a functional interface. They can be chained by using instances of
ElementMatcher.Junction.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ElementMatcher.Junction<S>
A junctions allows to chain different
ElementMatchers in a readable manner. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(T target)
Matches a target against this element matcher.
|
boolean matches(T target)
target - The instance to be matched.true if the given element is matched by this matcher or false otherwise.Copyright © 2014–2017. All rights reserved.