|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mockobjects.constraint.IsSame
Is the value the same object as another value?
Constructor Summary | |
IsSame(java.lang.Object o)
Creates a new instance of IsSame |
Method Summary | |
boolean |
eval(java.lang.Object arg)
Evaluates the constraint for argument o. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IsSame(java.lang.Object o)
o
- The predicate evaluates to true only when the argument is
this object.Method Detail |
public boolean eval(java.lang.Object arg)
Constraint
eval
in interface Constraint
true
if o meets the constraint,
false
if it does not.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |