* * *

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

##  org.hamcrest.number  
Class BigDecimalCloseTo

    
    
    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.math.BigDecimal>
              ![extended by ](../../../resources/inherit.gif)**org.hamcrest.number.BigDecimalCloseTo**
    

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

* * *
    
    
    public class **BigDecimalCloseTo** extends [TypeSafeMatcher](../../../org/hamcrest/TypeSafeMatcher.html "class in org.hamcrest")<java.math.BigDecimal>

* * *

**Constructor Summary**  
---  
` **[ BigDecimalCloseTo
](../../../org/hamcrest/number/BigDecimalCloseTo.html#BigDecimalCloseTo\(java.math.BigDecimal,
java.math.BigDecimal\)) ** (java.math.BigDecimal value, java.math.BigDecimal
error) `  
  
**Method Summary**  
---  
` static [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.math.BigDecimal> ` |  ` **[ closeTo ](../../../org/hamcrest/number/BigDecimalCloseTo.html#closeTo\(java.math.BigDecimal, java.math.BigDecimal\)) ** (java.math.BigDecimal operand, java.math.BigDecimal error) `   
Creates a matcher of ` BigDecimal ` s that matches when an examined BigDecimal
is equal to the specified ` operand ` , within a range of +/- ` error ` .  
` void ` |  ` **[ describeMismatchSafely ](../../../org/hamcrest/number/BigDecimalCloseTo.html#describeMismatchSafely\(java.math.BigDecimal, org.hamcrest.Description\)) ** (java.math.BigDecimal item, [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") mismatchDescription) `   
Subclasses should override this.  
` void ` |  ` **[ describeTo ](../../../org/hamcrest/number/BigDecimalCloseTo.html#describeTo\(org.hamcrest.Description\)) ** ( [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") description) `   
Generates a description of the object.  
` boolean ` |  ` **[ matchesSafely ](../../../org/hamcrest/number/BigDecimalCloseTo.html#matchesSafely\(java.math.BigDecimal\)) ** (java.math.BigDecimal 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 inherited from class java.lang.Object**