public class Equals extends Object implements ValuePredicate<Object>
| Constructor and Description |
|---|
Equals() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Object expected,
Object actual)
Returns
true iff both values satisfy this predicate. |
String |
describeExpected(Object expected,
Object actual)
Returns an expected value as readable text.
|
public boolean accepts(Object expected, Object actual)
ValuePredicatetrue iff both values satisfy this predicate.accepts in interface ValuePredicate<Object>expected - the expected value (nullable)actual - the actual value (nullable)true iff both values satisfy this predicate, false otherwise.public String describeExpected(Object expected, Object actual)
ValuePredicatedescribeExpected in interface ValuePredicate<Object>expected - the expected value (nullable)actual - the actual value (nullable)null if is always/never expectedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.