01: package imp;
02:
03: import TestClass;
04:
05: /**
06: * Tests if we find stuff in instanceOf expressions
07: *
08: *@author Chris Seguin
09: *@created September 7, 1999
10: */
11: public class TypeChecker {
12: /**
13: * Description of the Method
14: *
15: *@param data Description of Parameter
16: *@return Description of the Returned Value
17: */
18: public boolean check(Object data) {
19: return data instanceof TestClass;
20: }
21: }
|