feat: 状态机接口新增少量逻辑组合相关的默认方法.

This commit is contained in:
2025-04-23 11:30:27 +08:00
parent d533061410
commit 1e9113666b
2 changed files with 31 additions and 6 deletions

View File

@@ -110,11 +110,6 @@ public abstract class AbstractStateManager<S> implements StateManager<S> {
return stateList.size();
}
@Override
public boolean isSwitchable() {
return stateList.size() > 1;
}
/**
* 将序号移动至下一个
* <li> 自动归零