* * *

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

##  org.hamcrest  
Class CoreMatchers

    
    
    java.lang.Object
      ![extended by ](../../resources/inherit.gif)**org.hamcrest.CoreMatchers**
    

* * *
    
    
    public class **CoreMatchers** extends java.lang.Object

* * *

**Constructor Summary**  
---  
` **[ CoreMatchers ](../../org/hamcrest/CoreMatchers.html#CoreMatchers\(\)) **
() `  
  
**Method Summary**  
---  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ allOf
](../../org/hamcrest/CoreMatchers.html#allOf\(java.lang.Iterable\)) **
(java.lang.Iterable< [ Matcher ](../../org/hamcrest/Matcher.html "interface in
org.hamcrest") <? super T>> matchers) `  
Creates a matcher that matches if the examined object matches **ALL** of the
specified matchers.  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ allOf
](../../org/hamcrest/CoreMatchers.html#allOf\(org.hamcrest.Matcher...\)) ** (
[ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <?
super T>... matchers) `  
Creates a matcher that matches if the examined object matches **ALL** of the
specified matchers.  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ allOf
](../../org/hamcrest/CoreMatchers.html#allOf\(org.hamcrest.Matcher,
org.hamcrest.Matcher\)) ** ( [ Matcher ](../../org/hamcrest/Matcher.html
"interface in org.hamcrest") <? super T> first, [ Matcher
](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <? super T>
second) `  
Creates a matcher that matches if the examined object matches **ALL** of the
specified matchers.  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ allOf
](../../org/hamcrest/CoreMatchers.html#allOf\(org.hamcrest.Matcher,
org.hamcrest.Matcher, org.hamcrest.Matcher\)) ** ( [ Matcher
](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <? super T>
first, [ Matcher ](../../org/hamcrest/Matcher.html "interface in
org.hamcrest") <? super T> second, [ Matcher ](../../org/hamcrest/Matcher.html
"interface in org.hamcrest") <? super T> third) `  
Creates a matcher that matches if the examined object matches **ALL** of the
specified matchers.  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ allOf
](../../org/hamcrest/CoreMatchers.html#allOf\(org.hamcrest.Matcher,
org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher\)) ** ( [
Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <?
super T> first, [ Matcher ](../../org/hamcrest/Matcher.html "interface in
org.hamcrest") <? super T> second, [ Matcher ](../../org/hamcrest/Matcher.html
"interface in org.hamcrest") <? super T> third, [ Matcher
](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <? super T>
fourth) `  
Creates a matcher that matches if the examined object matches **ALL** of the
specified matchers.  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ allOf
](../../org/hamcrest/CoreMatchers.html#allOf\(