public abstract class AbstractFSM<S extends State,FSM extends FiniteStateMachine<S>> extends Object implements FiniteStateMachine<S>
| 构造器和说明 |
|---|
AbstractFSM() |
| 限定符和类型 | 方法和说明 |
|---|---|
RuntimeException |
errorHandle(WrongStateException exception) |
protected FSM |
getSelf() |
protected S |
getState() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitprotected S getState()
protected FSM getSelf()
public RuntimeException errorHandle(WrongStateException exception)
errorHandle 在接口中 FiniteStateMachine<S extends State>Copyright © 2020. All rights reserved.