|
From: hong li <hon...@ya...> - 2004-11-05 19:32:30
|
There is a class AutoThresholdDefectSelector with its inner class InitialDefectInfo inside
The constructor of AutoThresholdDefectSelector need InitialDefectInfo as its argument.
The basic structure of this class is as follows:
public final class AutoThresholdDefectSelector {
public static final class InitialDefectInfo {
private int id;
public int getId() {
return id;
}
public InitialDefectInfo(int id) {
this.id = id;
}
}
public AutoThresholdDefectSelector(InitialDefectInfo defect_info[]) {
this.defect_info = defect_info;
}
}
In jython , I type the following two commands
>>> from com.numeritech.ivss.adssAnalysisEngines import
AutoThresholdDefectSelector
>>> ccc=AutoThresholdDefectSelector('com.numeritech.ivss.adssAnalysisEngines.AutoThresholdDefectSelector$InitialDefectIn
fo[]')
Traceback (innermost last):
File "<console>", line 1, in ?
TypeError:
com.numeritech.ivss.adssAnalysisEngines.AutoThresholdDefectSelector(): 1st arg can't be coerced to com.numeritech.ivss.adssAnalysisEngines.AutoThresholdDefectSelector$InitialDefectInfo[]
Is anyone know how to solve this problem? Thanks a lot. I greatly
appreciate it.
Hong
---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com/a |