public class IsSame extends java.lang.Object implements Constraint
| Constructor and Description |
|---|
IsSame(java.lang.Object o)
Creates a new instance of IsSame
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
eval(java.lang.Object arg)
Evaluates the constraint for argument o.
|
java.lang.String |
toString() |
public IsSame(java.lang.Object o)
o - The predicate evaluates to true only when the argument is
this object.public boolean eval(java.lang.Object arg)
Constrainteval in interface Constrainttrue if o meets the constraint,
false if it does not.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002 Mock Objects. All Rights Reserved.