public class EqualsConstraint extends AbstractConstraint
Constructor and Description |
---|
EqualsConstraint(Object reference) |
Modifier and Type | Method and Description |
---|---|
boolean |
passes(Object object) |
describeWith, equals, getName, getReference, hashCode, toString
and, or, xor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and, or, xor
public EqualsConstraint(Object reference)
reference
- the reference to check objects against for equalitypublic boolean passes(Object object)
object
- the object to checkCopyright © 2005-2013 Agical AB. All Rights Reserved.