Interface NodeStateDiffer
-
- All Known Implementing Classes:
DocumentNodeStore
public interface NodeStateDiffer
-
-
Field Summary
Fields Modifier and Type Field Description static NodeStateDiffer
DEFAULT_DIFFER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
compare(@NotNull AbstractDocumentNodeState node, @NotNull AbstractDocumentNodeState base, @NotNull NodeStateDiff diff)
-
-
-
Field Detail
-
DEFAULT_DIFFER
static final NodeStateDiffer DEFAULT_DIFFER
-
-
Method Detail
-
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)
-
-