Interface Decider

  • All Implemented Interfaces:

    
    public interface Decider<C extends Object, S extends Object, E extends Object, ER extends Object>
    
                        

    Decider implementation that uses Either from the Arrow library

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract S initialState()
      abstract Either<ER, List<E>> decide(C command, S state)
      abstract S evolve(S state, E event)
      Boolean isTerminal(S state)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait