org.apache.ddlutils.util
Class MultiInstanceofPredicate
java.lang.Object
org.apache.ddlutils.util.MultiInstanceofPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
- public class MultiInstanceofPredicate
- extends Object
- implements org.apache.commons.collections.Predicate
A predicate that tests whether the object is of one of the configured types.
- Version:
- $Revision: $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiInstanceofPredicate
public MultiInstanceofPredicate(Class[] typesToCheck)
- Creates a new predicate.
- Parameters:
typesToCheck
- The types to check
evaluate
public boolean evaluate(Object obj)
-
- Specified by:
evaluate
in interface org.apache.commons.collections.Predicate
Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.