We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.signals.impl.
Package com.vaadin.signals.impl
Class Snapshot
java.lang.Object
com.vaadin.signals.impl.TreeRevision
com.vaadin.signals.impl.Snapshot
An immutable tree revision.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty snapshot.
Snapshot
(MutableTreeRevision base) Creates a new snapshot from a mutable tree revision.
-
Method Summary
Methods inherited from class com.vaadin.signals.impl.TreeRevision
assertValidTree, data, nodes, originalInserts, ownerId
-
Constructor Details
-
Snapshot
Creates a new snapshot from a mutable tree revision.
Parameters:
base
- the mutable base revision to copy, notnull
-
Snapshot
Creates an empty snapshot. The snapshot contains an empty root node with
Id.ZERO
that is used for tracking signal values and optionally also another empty root node withId.MAX
that is used for tracking metadata.Parameters:
ownerId
- the id of the tree owner, notnull
includeMax
- flag indicating whether an additional root node should be created for tracking metadata
-