gzz.diff
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
java.lang.Object
  |
  +--gzz.diff.Delta
All Implemented Interfaces:
java.io.Serializable

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

Delta

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

inverse

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


getDimChanges

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.


getContentDelta

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