How to implement a FSM - Finite State Machine in Java

后端 未结 7 2210
渐次进展
渐次进展 2020-11-28 02:55

I have something to do for work and I need your help. We want to implement a FSM - Finite State Machine, to identify char sequence(like: A, B, C, A, C), and tel

相关标签:
7条回答
  • 2020-11-28 03:30

    Consider the easy, lightweight Java library EasyFlow. From their docs:

    With EasyFlow you can:

    • implement complex logic but keep your code simple and clean
    • handle asynchronous calls with ease and elegance
    • avoid concurrency by using event-driven programming approach
    • avoid StackOverflow error by avoiding recursion
    • simplify design, programming and testing of complex java applications
    0 讨论(0)
提交回复
热议问题