undoable.scala

来自「JAVA 语言的函数式编程扩展」· SCALA 代码 · 共 27 行

SCALA
27
字号
/*                     __                                               *\**     ________ ___   / /  ___     Scala API                            ****    / __/ __// _ | / /  / _ |    (c) 2003-2006, LAMP/EPFL             ****  __\ \/ /__/ __ |/ /__/ __ |                                         **** /____/\___/_/ |_/____/_/ | |                                         ****                          |/                                          **\*                                                                      */// $Id: Undoable.scala 10203 2007-03-05 14:21:28Z odersky $package scala.collection.mutable/** Classes that mix in the <code>Undoable</code> class provide an operation *  <code>undo</code> which can be used to undo the last operation. * *  @author  Matthias Zenger *  @version 1.0, 08/07/2003 */trait Undoable {    /** Undo the last operation.     */    def undo()}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?