public class InstanceOfConstraint extends AbstractConstraint
Constructor and Description |
---|
InstanceOfConstraint(Class clazz) |
Modifier and Type | Method and Description |
---|---|
boolean |
passes(Object object) |
describeWith, equals, getName, getReference, hashCode, toString
and, or, xor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and, or, xor
public InstanceOfConstraint(Class clazz)
clazz
- public boolean passes(Object object)
object
- The object to checkExpression.passes(java.lang.Object)
Copyright © 2005-2013 Agical AB. All Rights Reserved.