- All Implemented Interfaces:
Matcher<T>
- Direct Known Subclasses:
AbstractMatcher.AndMatcher, AbstractMatcher.OrMatcher, Matchers.AnnotatedWith, Matchers.AnnotatedWithType, Matchers.Any, Matchers.IdenticalTo, Matchers.InPackage, Matchers.InSubpackage, Matchers.Not, Matchers.Only, Matchers.Returns, Matchers.SubclassesOf
public abstract class AbstractMatcher<T>
extends Object
implements Matcher<T>
Implements and() and or().
-
Nested Class Summary
Nested Classes
private static class
private static class
-
Constructor Summary
Constructors
-
Method Summary
Returns a new matcher which returns true if both this and the given matcher return
true.
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 com.google.inject.matcher.Matcher
matches
-
Constructor Details
-
AbstractMatcher
public AbstractMatcher()
-
Method Details
-
and
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>
-
or
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>