gzz.diff
Class SimpleContentDelta

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.SimpleContentDelta
All Implemented Interfaces:
ContentDelta, java.io.Serializable

public class SimpleContentDelta
extends java.lang.Object
implements ContentDelta

A change for cell content.

See Also:
Serialized Form

Field Summary
 java.lang.String[] cell
          Cell id.
 int nchanges
           
 java.lang.Object[] p1
          The old value.
 java.lang.Object[] p2
          The new value.
 
Constructor Summary
SimpleContentDelta()
           
 
Method Summary
 void addChange(Cell c, java.lang.Object o1, java.lang.Object o2)
           
 ContentDelta 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
 

Field Detail

cell

public java.lang.String[] cell
Cell id.


p1

public java.lang.Object[] p1
The old value.


p2

public java.lang.Object[] p2
The new value.


nchanges

public int nchanges
Constructor Detail

SimpleContentDelta

public SimpleContentDelta()
Method Detail

addChange

public void addChange(Cell c,
                      java.lang.Object o1,
                      java.lang.Object o2)

inverse

public ContentDelta inverse()
Description copied from interface: ContentDelta
Get the inverse of this change.

Specified by:
inverse in interface ContentDelta