java.lang.Object |
↳ |
com.google.inject.matcher.AbstractMatcher<T> |
Class Overview
Implements and()
and or()
.
Summary
Public Methods |
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 .
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
From interface
com.google.inject.matcher.Matcher
abstract
Matcher<T>
|
and(Matcher<? super T> other)
Returns a new matcher which returns true if both this and the
given matcher return true .
|
abstract
boolean
|
matches(T t)
Returns true if this matches t , false otherwise.
|
abstract
Matcher<T>
|
or(Matcher<? super T> other)
Returns a new matcher which returns true if either this or the
given matcher return true .
|
|
Public Constructors
public
AbstractMatcher
()
Public Methods
public
Matcher<T>
and
(Matcher<? super T> other)
Returns a new matcher which returns true
if both this and the
given matcher return true
.
public
Matcher<T>
or
(Matcher<? super T> other)
Returns a new matcher which returns true
if either this or the
given matcher return true
.