org.hamcrest.core
Class IsEqual<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by 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?


Constructor Summary
IsEqual(T equalArg)
           
 
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
 

Constructor Detail

IsEqual

public IsEqual(T equalArg)
Method Detail

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?