in scala/collection/mutable
class RevertableHistory

class RevertableHistory[A <: Undoable,B]()
extends History[A,B]
with ScalaObject
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

Method Summary
  def undo: Unit
     Rollback the full history.

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/Iterable-class
/:, :\, exists, find, foldLeft, foldRight, forall, foreach, sameElements

Methods inherited from scala/collection/mutable/History-class
clear, elements, events, log, maxHistory, notify, size

Method Detail

undo

  def undo: Unit
Rollback the full history.