19package org.openoffice.xmerge.merger;
30 public static final int ADD = 1;
209 " op=" + opStr +
">";
This is the Difference basic unit.
int getOrgPosition()
Get the original Iterator position.
String debug()
Display debug information.
static final int CHANGE
Change operation.
int getModPosition()
Get the modified Iterator position.
final int operation
The action of the diff - either ADD or DELETE.
static final int DELETE
Delete operation.
Difference(int operation, int orgPosition, int modPosition)
Constructor.
static final int UNCHANGE
Unchange operation (i.e.
boolean equals(Object obj)
Two Difference objects will equal if and only if all operation, orgPosition, modPosition and content ...
int getOperation()
Get the operation of the Difference.
String toString()
Returns position and operation values as a single string.
final int orgPosition
The position of the content that should be operated on (original iterator).
static final int ADD
Add operation.
final int modPosition
The position of the content that should be operated (modified iterator).