|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmock.core.constraint.IsSame
Is the value the same object as another value?
| Constructor Summary | |
IsSame(Object object)
Creates a new instance of IsSame |
|
| Method Summary | |
StringBuffer |
describeTo(StringBuffer buffer)
Appends the description of this object to the buffer. |
boolean |
eval(Object arg)
Evaluates the constraint for argument o. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IsSame(Object object)
object - The predicate evaluates to true only when the argument is
this object.| Method Detail |
public boolean eval(Object arg)
Constraint
eval in interface Constraintarg - the object against which the constraint is evaluated.
true if o meets the constraint,
false if it does not.public StringBuffer describeTo(StringBuffer buffer)
SelfDescribing
describeTo in interface SelfDescribingbuffer - The buffer that the description is appended to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||