Back to project page spring-sync.
The source code is released under:
Apache License
If you think the Android project spring-sync listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.springframework.sync.diffsync; /*from w w w . jav a 2 s . c om*/ import java.util.List; import org.springframework.sync.Patch; import org.springframework.sync.PatchOperation; public class VersionedPatch extends Patch { private long serverVersion; private long clientVersion; public VersionedPatch(List<PatchOperation> operations, long serverVersion, long clientVersion) { super(operations); this.serverVersion = serverVersion; this.clientVersion = clientVersion; } public long getServerVersion() { return serverVersion; } public long getClientVersion() { return clientVersion; } }