|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mockobjects.constraint.IsAnything
public class IsAnything
A constraint that always returns true
.
Constructor Summary | |
---|---|
IsAnything()
|
Method Summary | |
---|---|
boolean |
eval(java.lang.Object o)
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 IsAnything()
Method Detail |
---|
public boolean eval(java.lang.Object o)
Constraint
eval
in interface Constraint
true
if o meets the constraint,
false
if it does not.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |