1 19 package org.netbeans.lib.jmi.query; 20 21 import java.util.Comparator ; 22 23 import javax.jmi.model.*; 24 import javax.jmi.reflect.RefFeatured; 25 26 30 public class JavaIofFilter extends FilterQuery { 31 32 33 protected String featureName; 34 35 private java.lang.Class clazz = null; 36 37 public JavaIofFilter(Query query, java.lang.Class clazz) { 38 super( query ); 39 this.clazz = clazz; 40 } 41 42 43 protected boolean accept( Object object ) { 44 45 if ( clazz.isInstance( object ) ) { 46 return true; 47 } 48 return false; 49 } 50 51 52 } 53 | Popular Tags |