org.hamcrest.number
public class IsGreaterThan<T extends Comparable<T>> extends TypeSafeMatcher<T>
Comparable value?| Constructor and Description |
|---|
IsGreaterThan(Comparable<T> compareTo) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(Description description)
Generates a description of the object.
|
boolean |
matchesSafely(T item)
Subclasses should implement this.
|
matches_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic IsGreaterThan(Comparable<T> compareTo)
public boolean matchesSafely(T item)
TypeSafeMatchermatchesSafely in class TypeSafeMatcher<T extends Comparable<T>>public void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.