gzz.util
Interface Version
- All Known Implementing Classes:
- SliceVersion
- public interface Version
A version of something that can be diffed.
This is an abstract representation of a version. It provides a method
for creating diffs. It can be used to implement saving in an abstract
way (for example, saving versions to and loading versions from
a Mediaserver using diffs).
Implementations must be immutable.
- See Also:
SliceVersion.Diff
Nested Class Summary |
static interface |
Version.Diff
A diff between two Version s. |
Field Summary |
static java.lang.String |
rcsid
|
rcsid
public static final java.lang.String rcsid
- See Also:
- Constant Field Values
getDiffFrom
public Version.Diff getDiffFrom(Version previous)
- Return the diff from a previous to this version.
previous
must be a Version
of the same kind as this one.