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, size, iterator, events, clear
Methods inherited from Iterable
companion
Methods inherited from IterableTemplate
elements, foreach, isEmpty, foldRight, reduceRight, toIterable, head, takeRight, dropRight, sameElements, toStream, view, view, first, firstOption, toSeq, projection
Methods inherited from TraversableClass
newBuilder, genericBuilder, unzip, flatten, transpose
Methods inherited from TraversableTemplate
thisCollection, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterMap, filterNot, remove, partition, groupBy, forall, exists, count, find, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, headOption, tail, last, lastOption, init, take, drop, slice, takeWhile, dropWhile, span, splitAt, copyToBuffer, copyToArray, copyToArray, toArray, toList, toSequence, toSet, mkString, mkString, mkString, addString, addString, addString, toString, stringPrefix
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