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 withId.ZEROthat is used for tracking signal values and optionally also another empty root node withId.MAXthat is used for tracking metadata.- Parameters:
 ownerId- the id of the tree owner, notnullincludeMax- flag indicating whether an additional root node should be created for tracking metadata
 
 -