Class MultiInstanceofPredicate

java.lang.Object
edu.internet2.middleware.grouper.ext.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: $
  • Constructor Details

    • MultiInstanceofPredicate

      public MultiInstanceofPredicate(Class[] typesToCheck)
      Creates a new predicate.
      Parameters:
      typesToCheck - The types to check
  • Method Details

    • evaluate

      public boolean evaluate(Object obj)
      Specified by:
      evaluate in interface org.apache.commons.collections.Predicate