Module org.easymock

Class CompareEqual<T extends Comparable<T>>

  • Type Parameters:
    T - Type of the values compared
    All Implemented Interfaces:
    Serializable, IArgumentMatcher

    public class CompareEqual<T extends Comparable<T>>
    extends CompareTo<T>
    Matches if the argument is equal when compared (as in Comparable.compareTo() == 0) to the given value.
    Author:
    Henri Tremblay
    See Also:
    Serialized Form