Interface NodeStateDiffer
-
- All Known Implementing Classes:
DocumentNodeStore
public interface NodeStateDiffer
-
-
Field Summary
Fields Modifier and Type Field Description static NodeStateDifferDEFAULT_DIFFER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancompare(@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:
trueif the full diff was performed, orfalseif it was aborted as requested by the handler (see theNodeStateDiffcontract for more details)
-
-