java.lang.Object
org.elasticsearch.common.inject.matcher.AbstractMatcher<T>
- All Implemented Interfaces:
Matcher<T>
public abstract class AbstractMatcher<T>
extends java.lang.Object
implements Matcher<T>
Implements and()
and or()
.
-
-
Method Summary
Modifier and Type |
Method |
Description |
Matcher<T> |
and(Matcher<? super T> other) |
Returns a new matcher which returns true if both this and the
given matcher return true .
|
Matcher<T> |
or(Matcher<? super T> other) |
Returns a new matcher which returns true if either this or the
given matcher return true .
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.inject.matcher.Matcher
matches
-
-
Method Details
-
Description copied from interface: Matcher
Returns a new matcher which returns true
if both this and the
given matcher return true
.
- Specified by:
and
in interface Matcher<T>
-
Description copied from interface: Matcher
Returns a new matcher which returns true
if either this or the
given matcher return true
.
- Specified by:
or
in interface Matcher<T>