本月博客排行
-
第1名
龙儿筝 -
第2名
johnsmith9th -
第3名
wy_19921005 - zysnba
- sgqt
- lemonhandsome
- sichunli_030
年度博客排行
-
第1名
宏天软件 -
第2名
青否云后端云 -
第3名
龙儿筝 - gashero
- wallimn
- vipbooks
- benladeng5225
- wy_19921005
- fantaxy025025
- e_e
- zysnba
- ssydxa219
- sam123456gz
- javashop
- arpenker
- tanling8334
- kaizi1992
- xpenxpen
- wiseboyloves
- xiangjie88
- ranbuijj
- ganxueyun
- sichunli_030
- xyuma
- wangchen.ily
- jh108020
- lemonhandsome
- zxq_2017
- jbosscn
- Xeden
- johnsmith9th
- luxurioust
- lzyfn123
- zhanjia
- forestqqqq
- ajinn
- nychen2000
- wjianwei666
- hanbaohong
- daizj
- 喧嚣求静
- silverend
- mwhgJava
- kingwell.leng
- lchb139128
- lich0079
- kristy_yy
- jveqi
- java-007
- sunj
最新文章列表
状态机
最近用到状态机
状态机选型:
squirrel-foundation、spring statemachine
https://segmentfault.com/a/1190000009906317
https://segmentfault.com/a/1190000009906469
最终选择spring statemachine
状态机可视化UML视图MAC+Idea插件
h ...
生命周期组件框架:带有多状态机的单实现类
ServiceOrder生命周期元数据
@StateMachine
public interface ServiceOrderLifecycleMeta extends OrderLifecycleMeta {
@StateSet
public static class States extends OrderLifecycleMeta.States {
...
生命周期组件框架:生命周期描述语言——并发加写锁和解写锁执行过程示例
@StateMachine
static interface LockingStateMachine {
@StateSet
static interface States {
@Initial
@Function(transition = LockingStateMachine.Trans ...
利用Antlr开发状态机
Antlr 不用多介绍了,只想说此乃神器也~~~
进入正题,首先是Antlr 定义的语法:
grammar StateMachine;
options {
output=AST;
ASTLabelType=CommonTree;
}
tokens {
RULE_ROOT;
STATE_DECLARATION;
CASE_CLAUSE;
CASE_DECLARATION;
}
@ ...
利用Antlr开发状态机
Antlr 不用多介绍了,只想说此乃神器也~~~
进入正题,首先是Antlr 定义的语法:
grammar StateMachine;
options {
output=AST;
ASTLabelType=CommonTree;
}
tokens {
RULE_ROOT;
STATE_DECLARATION;
CASE_CLAUSE;
CASE_DECLARATION;
}
@ ...