org.hamcrest.core
Class IsEqual<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.core.IsEqual<T>
- All Implemented Interfaces:
- org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
public class IsEqual<T>
- extends org.hamcrest.BaseMatcher<T>
Is the value equal to another value, as tested by the
Object.equals(java.lang.Object)
invokedMethod?
Method Summary |
void |
describeTo(org.hamcrest.Description description)
|
static
<T> org.hamcrest.Matcher<T> |
|
equalTo(T operand)
Is the value equal to another value, as tested by the
Object.equals(java.lang.Object) invokedMethod? |
boolean |
matches(java.lang.Object arg)
|
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 |
IsEqual
public IsEqual(T equalArg)
matches
public boolean matches(java.lang.Object arg)
describeTo
public void describeTo(org.hamcrest.Description description)
equalTo
public static <T> org.hamcrest.Matcher<T> equalTo(T operand)
- Is the value equal to another value, as tested by the
Object.equals(java.lang.Object)
invokedMethod?