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_, toString
public IsGreaterThan(java.lang.Comparable<T> compareTo)
public boolean matchesSafely(T item)
TypeSafeMatcher
matchesSafely
in class TypeSafeMatcher<T extends java.lang.Comparable<T>>
public void describeTo(Description description)
SelfDescribing
description
- The description to be built or appended to.