package me.bvn13.fsm; /** * State processor * @param the type of FSM inherited class * @param the type of Events */ @FunctionalInterface public interface StateProcessor { void process(T fsm, E event); }