|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
org.hamcrest.number.IsGreaterThan<T>
public class IsGreaterThan<T extends java.lang.Comparable<T>>
Is the value less than or greater than another Comparable
value?
Constructor Summary | |
---|---|
IsGreaterThan(java.lang.Comparable<T> compareTo)
|
Method Summary | |
---|---|
void |
describeTo(Description description)
Generates a description of the object. |
boolean |
matchesSafely(T item)
Subclasses should implement this. |
Methods inherited from class org.hamcrest.TypeSafeMatcher |
---|
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
---|
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IsGreaterThan(java.lang.Comparable<T> compareTo)
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |