Package com.vaadin.signals.shared.impl
Class Snapshot
java.lang.Object
com.vaadin.signals.shared.impl.TreeRevision
com.vaadin.signals.shared.impl.Snapshot
- All Implemented Interfaces:
Serializable
An immutable tree revision.
- See Also:
-
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.shared.impl.TreeRevision
assertValidTree, data, nodes, originalInserts, ownerId
-
Constructor Details
-
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