public class BigDecPropertyMatcher
extends org.hamcrest.TypeSafeMatcher<java.math.BigDecimal>
| Constructor and Description |
|---|
BigDecPropertyMatcher(org.hamcrest.Matcher<? super java.lang.Integer> precisionMatcher,
org.hamcrest.Matcher<? super java.lang.Integer> scaleMatcher,
boolean normalizedPrecision,
boolean normalizedScale) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(java.math.BigDecimal num,
org.hamcrest.Description out) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(java.math.BigDecimal num) |
public BigDecPropertyMatcher(org.hamcrest.Matcher<? super java.lang.Integer> precisionMatcher,
org.hamcrest.Matcher<? super java.lang.Integer> scaleMatcher,
boolean normalizedPrecision,
boolean normalizedScale)
protected boolean matchesSafely(java.math.BigDecimal num)
matchesSafely in class org.hamcrest.TypeSafeMatcher<java.math.BigDecimal>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(java.math.BigDecimal num,
org.hamcrest.Description out)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<java.math.BigDecimal>