* * *

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

##  org.hamcrest.core  
Class Every<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.TypeSafeDiagnosingMatcher](../../../org/hamcrest/TypeSafeDiagnosingMatcher.html "class in org.hamcrest")<java.lang.Iterable<T>>
              ![extended by ](../../../resources/inherit.gif)**org.hamcrest.core.Every <T>**
    

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

* * *
    
    
    public class **Every <T>**extends [TypeSafeDiagnosingMatcher](../../../org/hamcrest/TypeSafeDiagnosingMatcher.html "class in org.hamcrest")<java.lang.Iterable<T>>

* * *

**Constructor Summary**  
---  
` **[ Every
](../../../org/hamcrest/core/Every.html#Every\(org.hamcrest.Matcher\)) ** ( [
Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <?
super [ T ](../../../org/hamcrest/core/Every.html "type parameter in Every") >
matcher) `  
  
**Method Summary**  
---  
` void ` |  ` **[ describeTo ](../../../org/hamcrest/core/Every.html#describeTo\(org.hamcrest.Description\)) ** ( [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") description) `   
Generates a description of the object.  
` static  |  ` <U> [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Iterable<U>> `  
---  
` ` **[ everyItem
](../../../org/hamcrest/core/Every.html#everyItem\(org.hamcrest.Matcher\)) **
( [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")
<U> itemMatcher) `  
Creates a matcher for ` Iterable ` s that only matches when a single pass over
the examined ` Iterable ` yields items that are all matched by the specified `
itemMatcher ` .  
` boolean ` |  ` **[ matchesSafely ](../../../org/hamcrest/core/Every.html#matchesSafely\(java.lang.Iterable, org.hamcrest.Description\)) ** (java.lang.Iterable< [ T ](../../../org/hamcrest/core/Every.html "type parameter in Every") > collection, [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") mismatchDescription) `   
Subclasses should implement this.  
**Methods inherited from class org.hamcrest.[ TypeSafeDiagnosingMatcher
](../../../org/hamcrest/TypeSafeDiagnosingMatcher.html "class in
org.hamcrest") **  
---  
` [ describeMismatch
](../../../org/hamcrest/TypeSafeDiagnosingMatcher.html#describeMismatch\(java.lang.Object,
org.hamcrest.Description\)) , [ matches
](../../../org/hamcrest/TypeSafeDiagnosingMatcher.html#matches\(java.lang.Object\))
`  
**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_\(\))
, [ toString ](../../../org/hamcrest/BaseMatcher.html#toString\(\)) `  
**Methods inherited from class java.