/** * Functor interface. Or, to put * it another way, the interface to * actions stored in a finite * state machine (fsm). */ interface Action { public int act(); }