Interface NodeStateDiffer

    • Method Detail

      • compare

        boolean compare​(@NotNull
                        @NotNull AbstractDocumentNodeState node,
                        @NotNull
                        @NotNull AbstractDocumentNodeState base,
                        @NotNull
                        @NotNull NodeStateDiff diff)
        Compares the given node against the base state and reports the differences to the NodeStateDiff.
        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, or false if it was aborted as requested by the handler (see the NodeStateDiff contract for more details)