|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmock.constraint.IsInstanceOf
Tests whether the value is an instance of a class.
Constructor Summary | |
IsInstanceOf(java.lang.Class theclass)
Creates a new instance of IsInstanceOf |
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IsInstanceOf(java.lang.Class theclass)
theclass
- The predicate evaluates to true for instances of this class
or one of its subclasses.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 | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |