5 actions = new LinkedList[10];
6 for( int i = 0; i < 10; ++i ) {
7 actions[i] = disjoint blah new LinkedList();
11 public add( Action a, int list ) {
12 actions[list].addFirst( a );
16 public class StandardEngine extends Engine {
17 public StandardEngine( Gen gen ) {
20 Action a = new AntherAction( gen );
24 Action b = new AntherAction( gen );
31 public Action( Gen g ) {
36 public class AntherAction extends Action {
37 public AntherAction( Gen g ) {
48 static public void main( String[] args ) {
50 StandardEngine se = new StandardEngine( gen );