public class IsGreaterThan<T extends java.lang.Comparable<T>> extends TypeSafeMatcher<T>
Comparable value?| Constructor and Description |
|---|
IsGreaterThan(java.lang.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(java.lang.Comparable<T> compareTo)
public boolean matchesSafely(T item)
TypeSafeMatchermatchesSafely in class TypeSafeMatcher<T extends java.lang.Comparable<T>>public void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.