Package com.google.inject.matcher
Interface Matcher<T>
- All Known Implementing Classes:
AbstractMatcher
,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 interface Matcher<T>
Returns
true
or false
for a given input.-
Method Summary
Modifier and TypeMethodDescriptionReturns a new matcher which returnstrue
if both this and the given matcher returntrue
.boolean
Returnstrue
if this matchest
,false
otherwise.Returns a new matcher which returnstrue
if either this or the given matcher returntrue
.
-
Method Details
-
matches
Returnstrue
if this matchest
,false
otherwise. -
and
Returns a new matcher which returnstrue
if both this and the given matcher returntrue
. -
or
Returns a new matcher which returnstrue
if either this or the given matcher returntrue
.
-