Scala Library: scala.collection.mutable.Undoable
scala.collection.mutable.Undoable
trait Undoable extends AnyRef
Classes that mix in the Undoable
class provide an operation undo
which can
be used to undo the last operation.
- Source
- Version
- 1.0, 08/07/2003
- Since
- 1
Concrete Value Members From scala.collection.mutable.Undoable
abstract def undo(): Unit
Undo the last operation. (defined at scala.collection.mutable.Undoable)
Full Source:
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala
package collection
package mutable
/** Classes that mix in the `Undoable` class provide an operation
* `undo` which can be used to undo the last operation.
*
* @author Matthias Zenger
* @version 1.0, 08/07/2003
* @since 1
*/
trait Undoable {
/** Undo the last operation.
*/
def undo(): Unit
}
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.