org.junit.matchers
Class CombinableMatcher<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.junit.matchers.CombinableMatcher<T>
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public class CombinableMatcher<T>
extends org.hamcrest.BaseMatcher<T>


Constructor Summary
CombinableMatcher(org.hamcrest.Matcher<? extends T> matcher)
           
 
Method Summary
 CombinableMatcher<T> and(org.hamcrest.Matcher<? extends T> matcher)
           
 void describeTo(org.hamcrest.Description description)
           
 boolean matches(java.lang.Object item)
           
 CombinableMatcher<T> or(org.hamcrest.Matcher<? extends T> matcher)
           
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CombinableMatcher

public CombinableMatcher(org.hamcrest.Matcher<? extends T> matcher)
Method Detail

matches

public boolean matches(java.lang.Object item)

describeTo

public void describeTo(org.hamcrest.Description description)

and

public CombinableMatcher<T> and(org.hamcrest.Matcher<? extends T> matcher)

or

public CombinableMatcher<T> or(org.hamcrest.Matcher<? extends T> matcher)