public class ArrayEquals extends Equals
Constructor and Description |
---|
ArrayEquals(java.lang.Object wanted) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object[] |
createObjectArray(java.lang.Object array) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(java.lang.Object actual)
Returns whether this matcher accepts the given argument.
|
describe, equals, getWanted, hashCode, typeMatches, withExtraTypeInfo
public boolean matches(java.lang.Object actual)
ArgumentMatcher
The method should never assert if the argument doesn't match. It should only return false.
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing
describeTo
in class Equals
public static java.lang.Object[] createObjectArray(java.lang.Object array)