* * *

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

##  org.hamcrest.core  
Class IsAnything<T>

    
    
    java.lang.Object
      ![extended by ](../../../resources/inherit.gif)[org.hamcrest.BaseMatcher](../../../org/hamcrest/BaseMatcher.html "class in org.hamcrest")<T>
          ![extended by ](../../../resources/inherit.gif)**org.hamcrest.core.IsAnything <T>**
    

**All Implemented Interfaces:**      [ Matcher
](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T>, [
SelfDescribing ](../../../org/hamcrest/SelfDescribing.html "interface in
org.hamcrest")

* * *
    
    
    public class **IsAnything <T>**extends [BaseMatcher](../../../org/hamcrest/BaseMatcher.html "class in org.hamcrest")<T>

A matcher that always returns ` true ` .

* * *

**Constructor Summary**  
---  
` **[ IsAnything ](../../../org/hamcrest/core/IsAnything.html#IsAnything\(\))
** () `  
  
` **[ IsAnything
](../../../org/hamcrest/core/IsAnything.html#IsAnything\(java.lang.String\))
** (java.lang.String message) `  
  
**Method Summary**  
---  
` static [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Object> ` |  ` **[ anything ](../../../org/hamcrest/core/IsAnything.html#anything\(\)) ** () `   
Creates a matcher that always matches, regardless of the examined object.  
` static [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Object> ` |  ` **[ anything ](../../../org/hamcrest/core/IsAnything.html#anything\(java.lang.String\)) ** (java.lang.String description) `   
Creates a matcher that always matches, regardless of the examined object, but
describes itself with the specified ` String ` .  
` void ` |  ` **[ describeTo ](../../../org/hamcrest/core/IsAnything.html#describeTo\(org.hamcrest.Description\)) ** ( [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") description) `   
Generates a description of the object.  
` boolean ` |  ` **[ matches ](../../../org/hamcrest/core/IsAnything.html#matches\(java.lang.Object\)) ** (java.lang.Object o) `   
Evaluates the matcher for argument  item  .  
**Methods inherited from class org.hamcrest.[ BaseMatcher
](../../../org/hamcrest/BaseMatcher.html "class in org.hamcrest") **  
---  
` [ _dont_implement_Matcher___instead_extend_BaseMatcher_
](../../../org/hamcrest/BaseMatcher.html#_dont_implement_Matcher___instead_extend_BaseMatcher_\(\))
, [ describeMismatch
](../../../org/hamcrest/BaseMatcher.html#describeMismatch\(java.lang.Object,
org.hamcrest.Description\)) , [ toString
](../../../org/hamcrest/BaseMatcher.html#toString\(\)) `  
**Methods inherited from class java.lang.Object**  
---  
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait `  
  
**Constructor Detail**  
---  
  
###  IsAnything

    
    
    public **IsAnything**()

* * *

###  IsAnything

    
    
    public **IsAnything**(java.lang.String message)

**Method Detail**  
---  
  
###  matches

    
    
    public boolean **matches**(java.lang.Object o)

     **Description copied from interface:` [ Matcher ](../../../org/hamcrest/Matcher.html#matches\(java.lang.Object\)) ` **
     Evaluates the matcher for argument  item  . 

This meth