Class StateMachine<T>


  • public class StateMachine<T>
    extends Object
    • Method Detail

      • getInternalState

        protected T getInternalState()
      • getAndUpdateState

        protected T getAndUpdateState​(UnaryOperator<T> updater)
      • compareAndSet

        protected boolean compareAndSet​(T prev,
                                        T next)
      • checkStateIs

        protected void checkStateIs​(T st,
                                    String desc)