org.drools.runtime
Class ClassObjectFilter
java.lang.Object
   org.drools.runtime.ClassObjectFilter
org.drools.runtime.ClassObjectFilter
- All Implemented Interfaces: 
- ObjectFilter
- public class ClassObjectFilter 
- extends Object- implements ObjectFilter
Filters Objects by Class, only accepting Classes of the specified type
 
| Method Summary | 
|  boolean | accept(Object object)Returning true means the Iterator accepts, and thus returns, the current Object's Class type.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ClassObjectFilter
public ClassObjectFilter(Class clazz)
- The Allowed Class type
 
- Parameters:
- clazz-
 
accept
public boolean accept(Object object)
- Returning true means the Iterator accepts, and thus returns, the current Object's Class type.
 
- 
- Specified by:
- acceptin interface- ObjectFilter
 
- 
- Parameters:
- object-
- Returns:
 
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.