public class DiffMatchPatchEdit extends Object implements Edit<DiffMatchPatchDiffs>
Modifier and Type | Class and Description |
---|---|
static class |
DiffMatchPatchEdit.Builder |
Modifier and Type | Method and Description |
---|---|
String |
checksum()
A checksum of the opposing sides shadow document.
|
long |
clientVersion()
The client version that edit is related to.
|
DiffMatchPatchDiffs |
diff()
The
Diff for this edit. |
boolean |
equals(Object o) |
int |
hashCode() |
long |
serverVersion()
The server version that edit is related to.
|
String |
toString() |
static DiffMatchPatchEdit.Builder |
withChecksum(String checksum) |
public long clientVersion()
Edit
clientVersion
in interface Edit<DiffMatchPatchDiffs>
long
the client version that this edit is based on.public long serverVersion()
Edit
serverVersion
in interface Edit<DiffMatchPatchDiffs>
long
the server version that this edit is based on.public String checksum()
Edit
checksum
in interface Edit<DiffMatchPatchDiffs>
String
the opposing side's checksum of the shadow documentpublic DiffMatchPatchDiffs diff()
Edit
Diff
for this edit.diff
in interface Edit<DiffMatchPatchDiffs>
T
the diff that represents the changes for this editpublic static DiffMatchPatchEdit.Builder withChecksum(String checksum)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.