* * *

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

##  org.hamcrest.collection  
Class IsEmptyIterable<E>

    
    
    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.TypeSafeMatcher](../../../org/hamcrest/TypeSafeMatcher.html "class in org.hamcrest")<java.lang.Iterable<? extends E>>
              ![extended by ](../../../resources/inherit.gif)**org.hamcrest.collection.IsEmptyIterable <E>**
    

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

* * *
    
    
    public class **IsEmptyIterable <E>**extends [TypeSafeMatcher](../../../org/hamcrest/TypeSafeMatcher.html "class in org.hamcrest")<java.lang.Iterable<? extends E>>

Tests if collection is empty.

* * *

**Constructor Summary**  
---  
` **[ IsEmptyIterable
](../../../org/hamcrest/collection/IsEmptyIterable.html#IsEmptyIterable\(\))
** () `  
  
**Method Summary**  
---  
` void ` |  ` **[ describeMismatchSafely ](../../../org/hamcrest/collection/IsEmptyIterable.html#describeMismatchSafely\(java.lang.Iterable, org.hamcrest.Description\)) ** (java.lang.Iterable<? extends [ E ](../../../org/hamcrest/collection/IsEmptyIterable.html "type parameter in IsEmptyIterable") > iter, [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") mismatchDescription) `   
Subclasses should override this.  
` void ` |  ` **[ describeTo ](../../../org/hamcrest/collection/IsEmptyIterable.html#describeTo\(org.hamcrest.Description\)) ** ( [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") description) `   
Generates a description of the object.  
` static  |  ` <E> [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Iterable<? extends E>> `  
---  
` ` **[ emptyIterable
](../../../org/hamcrest/collection/IsEmptyIterable.html#emptyIterable\(\)) **
() `  
Creates a matcher for ` Iterable ` s matching examined iterables that yield no
items.  
` static  |  ` <E> [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Iterable<E>> `  
---  
` ` **[ emptyIterableOf
](../../../org/hamcrest/collection/IsEmptyIterable.html#emptyIterableOf\(java.lang.Class\))
** (java.lang.Class<E> type) `  
Creates a matcher for ` Iterable ` s matching examined iterables that yield no
items.  
` boolean ` |  ` **[ matchesSafely ](../../../org/hamcrest/collection/IsEmptyIterable.html#matchesSafely\(java.lang.Iterable\)) ** (java.lang.Iterable<? extends [ E ](../../../org/hamcrest/collection/IsEmptyIterable.html "type parameter in IsEmptyIterable") > iterable) `   
Subclasses should implement this.  
**Methods inherited from class org.hamcrest.[ TypeSafeMatcher
](../../../org/hamcrest/TypeSafeMatcher.html "class in org.hamcrest") **  
---  
` [ describeMismatch
](../../../org/hamcrest/TypeSafeMatcher.html#describeMismatch\(java.lang.