* * *

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

##  org.hamcrest.core  
Class IsNull<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.IsNull <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 **IsNull <T>**extends [BaseMatcher](../../../org/hamcrest/BaseMatcher.html "class in org.hamcrest")<T>

Is the value null?

* * *

**Constructor Summary**  
---  
` **[ IsNull ](../../../org/hamcrest/core/IsNull.html#IsNull\(\)) ** () `  
  
**Method Summary**  
---  
` void ` |  ` **[ describeTo ](../../../org/hamcrest/core/IsNull.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/IsNull.html#matches\(java.lang.Object\)) ** (java.lang.Object o) `   
Evaluates the matcher for argument  item  .  
` static [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Object> ` |  ` **[ notNullValue ](../../../org/hamcrest/core/IsNull.html#notNullValue\(\)) ** () `   
A shortcut to the frequently used ` not(nullValue()) ` .  
` static  |  ` <T> [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ notNullValue
](../../../org/hamcrest/core/IsNull.html#notNullValue\(java.lang.Class\)) **
(java.lang.Class<T> type) `  
A shortcut to the frequently used ` not(nullValue(X.class)). `  
` static [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Object> ` |  ` **[ nullValue ](../../../org/hamcrest/core/IsNull.html#nullValue\(\)) ** () `   
Creates a matcher that matches if examined object is ` null ` .  
` static  |  ` <T> [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ nullValue
](../../../org/hamcrest/core/IsNull.html#nullValue\(java.lang.Class\)) **
(java.lang.Class<T> type) `  
Creates a matcher that matches if examined object is ` null ` .  
**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**  
---  
  
###  IsNull

    
    
    public **IsNull**()

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

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

     **Descr