cribing.html#describeTo\(org.hamcrest.Description\))
`  
  
**Constructor Detail**  
---  
  
###  BaseMatcher

    
    
    public **BaseMatcher**()

**Method Detail**  
---  
  
###  _dont_implement_Matcher___instead_extend_BaseMatcher_

    
    
    @Deprecated
    public final void **_dont_implement_Matcher___instead_extend_BaseMatcher_**()

     **Deprecated.**

     **Description copied from interface:` [ Matcher ](../../org/hamcrest/Matcher.html#_dont_implement_Matcher___instead_extend_BaseMatcher_\(\)) ` **
     This method simply acts a friendly reminder not to implement Matcher directly and instead extend BaseMatcher. It's easy to ignore JavaDoc, but a bit harder to ignore compile errors . 

    

**Specified by:**      ` [
_dont_implement_Matcher___instead_extend_BaseMatcher_
](../../org/hamcrest/Matcher.html#_dont_implement_Matcher___instead_extend_BaseMatcher_\(\))
` in interface ` [ Matcher ](../../org/hamcrest/Matcher.html "interface in
org.hamcrest") < [ T ](../../org/hamcrest/BaseMatcher.html "type parameter in
BaseMatcher") > `

    

**See Also:**      [ `
Matcher._dont_implement_Matcher___instead_extend_BaseMatcher_() `
](../../org/hamcrest/Matcher.html#_dont_implement_Matcher___instead_extend_BaseMatcher_\(\))

* * *

###  describeMismatch

    
    
    public void **describeMismatch**(java.lang.Object item,
                                 [Description](../../org/hamcrest/Description.html "interface in org.hamcrest") description)

     **Description copied from interface:` [ Matcher ](../../org/hamcrest/Matcher.html#describeMismatch\(java.lang.Object, org.hamcrest.Description\)) ` **
     Generate a description of why the matcher has not accepted the item. The description will be part of a larger description of why a matching failed, so it should be concise. This method assumes that ` matches(item) ` is false, but will not check this. 

    

**Specified by:**      ` [ describeMismatch
](../../org/hamcrest/Matcher.html#describeMismatch\(java.lang.Object,
org.hamcrest.Description\)) ` in interface ` [ Matcher
](../../org/hamcrest/Matcher.html "interface in org.hamcrest") < [ T
](../../org/hamcrest/BaseMatcher.html "type parameter in BaseMatcher") > `

    

**Parameters:**      ` item ` \- The item that the Matcher has rejected.
` description ` \- The description to be built or appended to.

* * *

###  toString

    
    
    public java.lang.String **toString**()

    

**Overrides:**      ` toString ` in class ` java.lang.Object `

    

* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/BaseMatcher.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/BaseDescription.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/Condition.html "class in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/BaseMatcher.html) [ **NO FRAMES** ](BaseMatcher.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *