Class Delta

gzz.diff.Delta gzz.diff.ContentDelta gzz.diff.SimpleContentDelta gzz.diff.DimDelta gzz.diff.SimpleDimDelta gzz.diff.DeltaSpace ../../../Gzz_CoreAPIs.gen.html#diffs diffs_small
All Implemented Interfaces:

public class Delta
extends java.lang.Object
implements java.io.Serializable

A change between two versions of a DeltaSpace. This object is serializable and mustn't contain references to Cell, Space etc.

See Also:
Serialized Form

Constructor Summary
Delta(java.util.Map dimChanges, ContentDelta contentDelta)
Method Summary
 ContentDelta getContentDelta()
          Get the changes to cell contents.
 java.util.Map getDimChanges()
          Get the changes for each dimension as a map.
 Delta inverse()
          Get the inverse of this change.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Delta(java.util.Map dimChanges,
             ContentDelta contentDelta)
Method Detail


public Delta inverse()
Get the inverse of this change.


public java.util.Map getDimChanges()
Get the changes for each dimension as a map. The keys are the ids of the dimensions as strings. The Map and the values in it may be edited in place.


public ContentDelta getContentDelta()
Get the changes to cell contents.