public class SameConstraint extends AbstractConstraint
Constructor and Description |
---|
SameConstraint(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 SameConstraint(Object reference)
reference
- the reference to compare other objects topublic boolean passes(Object object)
object
- The object to checkExpression.passes(java.lang.Object)
Copyright © 2005-2013 Agical AB. All Rights Reserved.