Package com.google.inject.matcher
Class AbstractMatcher<T>
- java.lang.Object
-
- com.google.inject.matcher.AbstractMatcher<T>
-
- 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 java.lang.Object implements Matcher<T>
Implementsand()andor().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classAbstractMatcher.AndMatcher<T>private static classAbstractMatcher.OrMatcher<T>
-
Constructor Summary
Constructors Constructor Description AbstractMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Matcher<T>and(Matcher<? super T> other)Returns a new matcher which returnstrueif both this and the given matcher returntrue.Matcher<T>or(Matcher<? super T> other)Returns a new matcher which returnstrueif either this or the given matcher returntrue.
-