3 public class StressTest
{
4 public static void main(String
[] args
) {
5 Javacyc cyc
= new Javacyc("ARA");
10 private static void doTrialRun(Javacyc cyc
) {
11 ArrayList result_enzrxn
=
12 cyc
.getClassAllInstances("|Enzymatic-Reactions|");
13 for (int i
= 0; i
< result_enzrxn
.size(); i
++) {
14 String er
= (String
)result_enzrxn
.get(i
);
15 System
.out
.println(i
);
16 System
.out
.println(cyc
.getSlotValue(er
,"Reaction"));
17 System
.out
.println(cyc
.getSlotValue(er
,"Reaction-Direction"));