Interface NodeStateDiffer
- All Known Implementing Classes:
DocumentNodeStore
public interface NodeStateDiffer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
compare
(@NotNull AbstractDocumentNodeState node, @NotNull AbstractDocumentNodeState base, @NotNull NodeStateDiff diff)
-
Field Details
-
DEFAULT_DIFFER
-
-
Method Details
-
compare
boolean compare(@NotNull @NotNull AbstractDocumentNodeState node, @NotNull @NotNull AbstractDocumentNodeState base, @NotNull @NotNull NodeStateDiff diff) - Parameters:
node
- the node to compare.base
- the base node to compare against.diff
- handler of node state differences- Returns:
true
if the full diff was performed, orfalse
if it was aborted as requested by the handler (see theNodeStateDiff
contract for more details)
-