public final class NumericMatchers extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<Number> |
hasApproximateValue(BigDecimal value,
BigDecimal tolerance) |
static <T> org.hamcrest.Matcher<Number> |
hasApproximateValue(long value,
long tolerance) |
static <T> org.hamcrest.Matcher<Number> |
integerValue() |
static <T> org.hamcrest.Matcher<Number> |
withinBigExclusiveInclusiveRange(BigDecimal low,
BigDecimal high) |
static <T> org.hamcrest.Matcher<Number> |
withinBigExclusiveInclusiveRange(double lowFloat,
double highFloat) |
static <T> org.hamcrest.Matcher<Number> |
withinBigExclusiveInclusiveRange(long lowInt,
long highInt) |
static <T> org.hamcrest.Matcher<Number> |
withinBigExclusiveRange(BigDecimal low,
BigDecimal high) |
static <T> org.hamcrest.Matcher<Number> |
withinBigExclusiveRange(double lowFloat,
double highFloat) |
static <T> org.hamcrest.Matcher<Number> |
withinBigExclusiveRange(long lowInt,
long highInt) |
static <T> org.hamcrest.Matcher<Number> |
withinBigInclusiveExclusiveRange(BigDecimal low,
BigDecimal high) |
static <T> org.hamcrest.Matcher<Number> |
withinBigInclusiveExclusiveRange(double lowFloat,
double highFloat) |
static <T> org.hamcrest.Matcher<Number> |
withinBigInclusiveExclusiveRange(long lowInt,
long highInt) |
static <T> org.hamcrest.Matcher<Number> |
withinBigRange(BigDecimal low,
BigDecimal high) |
static <T> org.hamcrest.Matcher<Number> |
withinBigRange(double lowFloat,
double highFloat) |
static <T> org.hamcrest.Matcher<Number> |
withinBigRange(long lowInt,
long highInt) |
static <T> org.hamcrest.Matcher<Number> |
withinExclusiveInclusiveRange(Long low,
Long high) |
static <T> org.hamcrest.Matcher<Number> |
withinExclusiveRange(Long low,
Long high) |
static <T> org.hamcrest.Matcher<Number> |
withinInclusiveExclusiveRange(Long low,
Long high) |
static <T> org.hamcrest.Matcher<Number> |
withinRange(Long low,
Long high) |
public static <T> org.hamcrest.Matcher<Number> hasApproximateValue(BigDecimal value, BigDecimal tolerance)
public static <T> org.hamcrest.Matcher<Number> withinBigRange(BigDecimal low, BigDecimal high)
public static <T> org.hamcrest.Matcher<Number> withinBigExclusiveRange(BigDecimal low, BigDecimal high)
public static <T> org.hamcrest.Matcher<Number> withinBigInclusiveExclusiveRange(BigDecimal low, BigDecimal high)
public static <T> org.hamcrest.Matcher<Number> withinBigExclusiveInclusiveRange(BigDecimal low, BigDecimal high)
public static <T> org.hamcrest.Matcher<Number> hasApproximateValue(long value, long tolerance)
public static <T> org.hamcrest.Matcher<Number> withinBigRange(long lowInt, long highInt)
public static <T> org.hamcrest.Matcher<Number> withinBigExclusiveRange(long lowInt, long highInt)
public static <T> org.hamcrest.Matcher<Number> withinBigInclusiveExclusiveRange(long lowInt, long highInt)
public static <T> org.hamcrest.Matcher<Number> withinBigExclusiveInclusiveRange(long lowInt, long highInt)
public static <T> org.hamcrest.Matcher<Number> withinBigRange(double lowFloat, double highFloat)
public static <T> org.hamcrest.Matcher<Number> withinBigExclusiveRange(double lowFloat, double highFloat)
public static <T> org.hamcrest.Matcher<Number> withinBigInclusiveExclusiveRange(double lowFloat, double highFloat)
public static <T> org.hamcrest.Matcher<Number> withinBigExclusiveInclusiveRange(double lowFloat, double highFloat)
public static <T> org.hamcrest.Matcher<Number> withinExclusiveRange(Long low, Long high)
public static <T> org.hamcrest.Matcher<Number> withinInclusiveExclusiveRange(Long low, Long high)
public static <T> org.hamcrest.Matcher<Number> withinExclusiveInclusiveRange(Long low, Long high)
public static <T> org.hamcrest.Matcher<Number> integerValue()
Copyright © 2015–2016 Boleslav Bobcik - Auderis. All rights reserved.