Scala Library
|
|
class
RevertableHistory[A <: Undoable, B]
extends
History[A, B] with
UndoableHistory
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
.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, partition, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toSeq, toStream, mkString, mkString, mkString, addString, 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 |
Scala Library
|
|