* * *

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

##  org.hamcrest.text  
Class IsEqualIgnoringCase

    
    
    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.String>
              ![extended by ](../../../resources/inherit.gif)**org.hamcrest.text.IsEqualIgnoringCase**
    

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

* * *
    
    
    public class **IsEqualIgnoringCase** extends [TypeSafeMatcher](../../../org/hamcrest/TypeSafeMatcher.html "class in org.hamcrest")<java.lang.String>

Tests if a string is equal to another string, regardless of the case.

* * *

**Constructor Summary**  
---  
` **[ IsEqualIgnoringCase
](../../../org/hamcrest/text/IsEqualIgnoringCase.html#IsEqualIgnoringCase\(java.lang.String\))
** (java.lang.String string) `  
  
**Method Summary**  
---  
` void ` |  ` **[ describeMismatchSafely ](../../../org/hamcrest/text/IsEqualIgnoringCase.html#describeMismatchSafely\(java.lang.String, org.hamcrest.Description\)) ** (java.lang.String item, [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") mismatchDescription) `   
Subclasses should override this.  
` void ` |  ` **[ describeTo ](../../../org/hamcrest/text/IsEqualIgnoringCase.html#describeTo\(org.hamcrest.Description\)) ** ( [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") description) `   
Generates a description of the object.  
` static [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.String> ` |  ` **[ equalToIgnoringCase ](../../../org/hamcrest/text/IsEqualIgnoringCase.html#equalToIgnoringCase\(java.lang.String\)) ** (java.lang.String expectedString) `   
Creates a matcher of ` String ` that matches when the examined string is equal
to the specified expectedString, ignoring case.  
` boolean ` |  ` **[ matchesSafely ](../../../org/hamcrest/text/IsEqualIgnoringCase.html#matchesSafely\(java.lang.String\)) ** (java.lang.String item) `   
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.Object,
org.hamcrest.Description\)) , [ matches
](../../../org/hamcrest/TypeSafeMatcher.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 inher