Skip to content

zhours/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

命令模式实现计算器,并支持undo/redo操作

命令模式实现计算器

img.png

undo/redo 操作的原理

用两个Stack来实现,undoCommand 与 redoCommand

About

计算器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages