gzz.diff
Class SimpleDimDelta

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

public class SimpleDimDelta
extends java.lang.Object
implements DimDelta

A change for a "plain" dimension.

See Also:
Serialized Form

Field Summary
 int[] changeType
          The type of change - NONE, CONNECT, DISCONNECT.
static int CONNECT
           
static int DISCONNECT
           
 int nchanges
           
static int NONE
           
 java.lang.String[] p1
          The first parameter of the operation.
 java.lang.String[] p2
          The second parameter of the operation.
 
Constructor Summary
SimpleDimDelta()
           
 
Method Summary
 void addChange(int t, Cell o1, Cell o2)
           
 void addChange(int t, java.lang.String o1, java.lang.String o2)
           
 DimDelta 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

NONE

public static final int NONE
See Also:
Constant Field Values

CONNECT

public static final int CONNECT
See Also:
Constant Field Values

DISCONNECT

public static final int DISCONNECT
See Also:
Constant Field Values

changeType

public int[] changeType
The type of change - NONE, CONNECT, DISCONNECT.


p1

public java.lang.String[] p1
The first parameter of the operation.


p2

public java.lang.String[] p2
The second parameter of the operation.


nchanges

public int nchanges
Constructor Detail

SimpleDimDelta

public SimpleDimDelta()
Method Detail

addChange

public void addChange(int t,
                      Cell o1,
                      Cell o2)

addChange

public void addChange(int t,
                      java.lang.String o1,
                      java.lang.String o2)

inverse

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

Specified by:
inverse in interface DimDelta