Module org.easymock
Package org.easymock.internal.matchers
Class CompareEqual<T extends Comparable<T>>
java.lang.Object
org.easymock.internal.matchers.CompareTo<T>
org.easymock.internal.matchers.CompareEqual<T>
- Type Parameters:
T
- Type of the values compared
- All Implemented Interfaces:
Serializable
,IArgumentMatcher
Matches if the argument is equal when compared (as in
Comparable.compareTo() == 0
) to the given value.- Author:
- Henri Tremblay
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getName()
protected boolean
matchResult
(int result)
-
Constructor Details
-
CompareEqual
-
-
Method Details
-
getName
- Specified by:
getName
in classCompareTo<T extends Comparable<T>>
-
matchResult
protected boolean matchResult(int result) - Specified by:
matchResult
in classCompareTo<T extends Comparable<T>>
-