Package com.google.inject.matcher
Class AbstractMatcher<T>
- java.lang.Object
-
- com.google.inject.matcher.AbstractMatcher<T>
-
- All Implemented Interfaces:
Matcher<T>
@Deprecated public abstract class AbstractMatcher<T> extends Object implements Matcher<T>
Deprecated.This class used to be useful to avoid implementingand()andor()yourself, but is no longer necessary now thatMatcherimplements these methods.Implementsand()andor().
-
-
Constructor Summary
Constructors Constructor Description AbstractMatcher()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Matcher<T>and(Matcher<? super T> other)Deprecated.Returns a new matcher which returnstrueif both this and the given matcher returntrue.Matcher<T>or(Matcher<? super T> other)Deprecated.Returns a new matcher which returnstrueif either this or the given matcher returntrue.
-