scala.collection.mutable
class RevertableHistory

[source: `scala/collection/mutable/RevertableHistory.scala`]

@serializable
`` `class` RevertableHistory[A <: Undoable, B]
  `extends` History[A, B]`with` Undoable

  A revertable history is a `History` object which supports an undo operation. Type variable `A` refers to the type of the published events, `B` denotes the publisher type. Type `B` is typically a subtype of `Publisher`.

Author
  Matthias Zenger
Version
  1.0, 08/07/2003

Values and Variables inherited from History
log, maxHistory

Method Summary
`def` | undo : Unit Rollback the full history.

Methods inherited from History
notify, elements, events, size, clear

Methods inherited from Collection
toArray, toString, stringPrefix

Methods inherited from Iterable
concat, ++, map, flatMap, filter, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, mkString, mkString, addString, addString, copyToArray, isEmpty, projection, hasDefiniteSize

Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Method Details

`` `def` undo : Unit

  Rollback the full history.

Overrides
  Undoable.undo